[Distutils] Packages that have problems being installed from wheels

Donald Stufft donald at stufft.io
Wed Aug 27 20:38:10 CEST 2014


> On Aug 27, 2014, at 2:09 PM, Marcus Smith <qwcode at gmail.com> wrote:
> 
> There are cases where projects do this in setup.py:
> 
> for scheme in INSTALL_SCHEMES.values():
>     scheme['data'] = scheme['purelib']
> 
> e.g.  https://github.com/celery/django-celery/blob/master/setup.py#L80 <https://github.com/celery/django-celery/blob/master/setup.py#L80>
> 
> so for the sdist install, data ends up relative to site-packages, whereas for the whl install, it ends up relative to sys.prefix

Oh right I forgot about that. Older versions of Django did it (not newer versions) and some stuff in the django ecosystem copied it.
---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140827/9b1aca54/attachment.html>


More information about the Distutils-SIG mailing list