[Distutils] A smaller step towards de-specializing setuptools/distutils

Donald Stufft donald at stufft.io
Fri Oct 30 07:04:07 EDT 2015


On October 30, 2015 at 4:07:22 AM, Marius Gedminas (marius at gedmin.as) wrote:
> > But code like this doesn't work! You build a wheel on Python 2.7,  
> you
> get a twine-1.6.4-py2.py3-none-any.whl[*] in your pip wheel  
> cache, and when
> you try to install it on Python 2.6, pip tries to use the same wheel,  
> with install_requires computed for Python 2.7 instead of 2.6.  
> Unless
> you override the wheel dependencies completely in setup.cfg[+]. 

It will work once https://github.com/pypa/pip/issues/3025 is fixed, which I plan on making sure is in the next release. It of course won’t work for releasing wheels or whatever, but it’s no worse then we are today.

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA




More information about the Distutils-SIG mailing list