[Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

Nathan Goldbaum nathan12343 at gmail.com
Tue Oct 27 11:33:37 EDT 2015


Would this happen at the level of numpy's setup.py script or would it be
implemented in numpy.distutils? I'm asking as the developer of a package
that uses numpy.distutils to manage C extensions.

On Tue, Oct 27, 2015 at 10:28 AM, <josef.pktd at gmail.com> wrote:

>
>
> On Tue, Oct 27, 2015 at 10:59 AM, Nathaniel Smith <njs at pobox.com> wrote:
>
>> On Oct 27, 2015 6:08 AM, <josef.pktd at gmail.com> wrote:
>> >
>> [...]
>> >
>> >
>> > What's the equivalent of
>> > python setup.py build_ext --inplace
>>
>> It's
>>     python setup.py build_ext --inplace
>>
>> ;-)
>>
> Ok, Sorry, I read now the small print and the issue.
>
> Sounds reasonable, given we can `force` our way out.
>
> (If the reason to run to pip is a misspelled dev version number, then it
> looks like a hammer to me.)
>
> Josef
>
>
>
>> There's also no replacement for setup.py sdist, or setup.py upload (which
>> is broken and should never be used), or setup.py clean (which is also
>> broken and should never be used in numpy's case). pip is a better package
>> installer than raw distutils or setuptools, for non-installation-related
>> tasks it has nothing to offer. (With the partial exception of 'pip wheel'.)
>>
>> -n
>>
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20151027/a3c9ae4a/attachment.html>


More information about the NumPy-Discussion mailing list