<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></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 28, 2014, at 3:24 PM, Joost Molenaar <<a href="mailto:j.j.molenaar@gmail.com" class="">j.j.molenaar@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">On Aug 27, 2014 8:50 AM, "Paul Moore" <<a href="mailto:p.f.moore@gmail.com" class="">p.f.moore@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">tl; dr; If you know of a project that can't be successfully installed<br class="">with "pip wheel proj; pip install /path/to/the/wheel.whl" can you let<br class="">me know the details?<br class=""></blockquote><br class="">Both Ansible and Fabric want to put stuff in <virtualenv>/usr/share,<br class="">which doesn't work from a .whl file but does from the sdist.<br class=""></div></blockquote><div><br class=""></div><div>This should be possible I think, that’s just the “data” scheme. Maybe</div><div>the tooling isn’t quite set up for it?</div><br class=""><blockquote type="cite" class=""><div class=""><br class="">AFAICT, you need to spell out the data files redundantly in<br class="">MANIFEST.in *and* setup(data_files=...), or the wheel won't contain<br class="">the files.<br class=""></div></blockquote><div><br class=""></div><div>This is correct, because these two things mean different things, MANIFEST.in</div><div>is the files that get added to the sdist itself, it has no control over what gets</div><div>installed whereas data_files tells distills what files to install into the data</div><div>location.</div><div><br class=""></div><div>You need both because if you only have MANIFEST.in, then distills won’t</div><div>actually install the files, and if you only have data_files then the sdist won’t</div><div>actually contain the files.</div><br class=""><blockquote type="cite" class=""><div class=""><br class="">I've been meaning to write up a test case to demonstrate the<br class="">problem for a good while, but haven't got around to it yet.<br class=""><br class="">HTH,<br class=""><br class="">Joost Molenaar<br class="">_______________________________________________<br class="">Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" class="">Distutils-SIG@python.org</a><br class=""><a href="https://mail.python.org/mailman/listinfo/distutils-sig" class="">https://mail.python.org/mailman/listinfo/distutils-sig</a><br class=""></div></blockquote></div><br class=""><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>