[Distutils] setup.py install using pip

Ronny Pfannschmidt opensource at ronnypfannschmidt.de
Mon Dec 7 02:07:53 EST 2015


That's a straw man, this has enough inconsistency potential to break many edge cases in ugly ways,
So global setup is out.
Projects themselves can really just switch to pip commands, same goes for packagers and other tool makers

Explicit is better than implicit, and in this case it also won't cost additional maintenance on setuptools.
Please keep in mind, that setuptools is completely on volunteer time, and the time given to it is scarce.



Am 7. Dezember 2015 05:36:42 MEZ, schrieb Nick Coghlan <ncoghlan at gmail.com>:
>On 4 December 2015 at 17:55, Ronny Pfannschmidt
><opensource at ronnypfannschmidt.de> wrote:
>> But it still needs a change in command
>> A direct switch to a real pip command comes with a free
>implementation and zero additional features to maintain in setuptools
>
>The key point here is that opting in to this new behaviour would just
>mean setting a new configuration flag in pydistutils.cfg on the system
>doing the build/install, or adding a new option to the list of options
>passed to the install command. That's a significantly lower barrier to
>entry than finding all of the occurrences of "./setup.py install" in
>existing packaging and deployment scripts and converting them over to
>use "pip install" instead, especially since all the *other* command
>line flags would continue to be the setuptools flags rather than the
>pip ones.
>
>Cheers,
>Nick.
>
>-- 
>Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151207/5d21ad40/attachment.html>


More information about the Distutils-SIG mailing list