I have created a distutils setup.py script that installs a list of packages
(all subpackages of one main package). Some packages have package_data files
(icons, translations, etc).
Running setup.py install on my Linux system (python 2.6) perfectly installs
all package data, but on Windows (tested with both 2.6 and 2.7) the
package_data is not installed at all. Also not picked up in build, or
bdist_wininst, etc. Only the Python files in the packages are installed.
The setup.py file can be seen at
I later added the package_dir incantation, but it doesn't help on Windows and
on Linux it worked perfectly without.
Does anybody have a clue why Python distutils on Windows ignore the
(Note: sdist perfectly works as the data files are also listed in MANIFEST.in)