<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 27, 2014, at 2:09 PM, Marcus Smith <<a href="mailto:qwcode@gmail.com" class="">qwcode@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">There are cases where projects do this in setup.py:<div class=""><br class=""></div><div class=""><div class="">for scheme in INSTALL_SCHEMES.values():</div><div class=""> scheme['data'] = scheme['purelib']</div></div><div class=""><br class=""></div>
<div class="">e.g. <a href="https://github.com/celery/django-celery/blob/master/setup.py#L80" class="">https://github.com/celery/django-celery/blob/master/setup.py#L80</a></div><div class=""><br class=""></div><div class="">so for the sdist install, data ends up relative to site-packages, whereas for the whl install, it ends up relative to sys.prefix</div></div></div></blockquote><br class=""></div><div>Oh right I forgot about that. Older versions of Django did it (not newer versions) and some stuff in the django ecosystem copied it.</div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">---</div><div class="">Donald Stufft</div><div class="">PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA</div></div></div>
</div>
<br class=""></body></html>