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

Noah Kantrowitz noah at coderanger.net
Mon May 2 03:14:27 EDT 2016


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160502/65ae4b31/attachment.sig>


More information about the Distutils-SIG mailing list