[Distutils] Packages that have problems being installed from wheels
Joost Molenaar
j.j.molenaar at gmail.com
Thu Aug 28 21:24:35 CEST 2014
On Aug 27, 2014 8:50 AM, "Paul Moore" <p.f.moore at 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.
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.
I've been meaning to write up a test case to demonstrate the
problem for a good while, but haven't got around to it yet.
HTH,
Joost Molenaar
More information about the Distutils-SIG
mailing list