On Aug 27, 2014 8:50 AM, "Paul Moore" <
p.f.moore@gmail.com> wrote:
tl; dr; If you know of a project that can't be successfully installed
with "pip wheel proj; pip install /path/to/the/wheel.whl" can you let
me know the details?
Both Ansible and Fabric want to put stuff in <virtualenv>/usr/share,
which doesn't work from a .whl file but does from the sdist.
This should be possible I think, that’s just the “data” scheme. Maybe
the tooling isn’t quite set up for it?
AFAICT, you need to spell out the data files redundantly in
MANIFEST.in *and* setup(data_files=...), or the wheel won't contain
the files.
This is correct, because these two things mean different things, MANIFEST.in
is the files that get added to the sdist itself, it has no control over what gets
installed whereas data_files tells distills what files to install into the data
location.
You need both because if you only have MANIFEST.in, then distills won’t
actually install the files, and if you only have data_files then the sdist won’t
actually contain the files.