On Aug 27, 2014, at 2:09 PM, Marcus Smith <qwcode@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

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