[Distutils] Two ways to download python packages - I prefer one

Alex Grönholm alex.gronholm at nextday.fi
Mon May 2 03:16:19 EDT 2016


You make it sound like there's a plausible alternative to setuptools 
entry points -- is there?

02.05.2016, 10:14, Noah Kantrowitz kirjoitti:
> The correct way to do that these days is `pip install -e .` AFAIK. Setuptools should be considered an implementation detail of installs at best, not really used directly anymore (though entry points are still used by some projects, so this isn't really a strict dichotomy).
>
> --Noah
>
>> On May 2, 2016, at 12:03 AM, Thomas Güttler <guettliml at thomas-guettler.de> wrote:
>>
>> I was told this:
>>
>>> `python setup.py develop` uses urllib2 to download distributions whereas pip uses requests
>> Souce: http://stackoverflow.com/a/36958874/633961
>>
>> This can create confusing situations and I want to avoid this.
>>
>> Is there a way to use only **one** way to install python packages?
>>
>> Do wheels help here?
>>
>> Or is there a way to use npm for python packages?
>>
>> Regards,
>>   Thomas Güttler
>>
>> --
>> Thomas Guettler http://www.thomas-guettler.de/
>> _______________________________________________
>> Distutils-SIG maillist  -  Distutils-SIG at python.org
>> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160502/6a70285e/attachment.html>


More information about the Distutils-SIG mailing list