Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5909

distutils on windows ignoring package_data

From Wilbert Berendsen <wbsoft@xs4all.nl>
Organization www.wilbertberendsen.nl
Subject distutils on windows ignoring package_data
Date 2011-05-21 10:42 +0200
Newsgroups comp.lang.python
Message-ID <mailman.1876.1305967861.9059.python-list@python.org> (permalink)

Show all headers | View raw


Hi,

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
https://github.com/wbsoft/frescobaldi/blob/master/setup.py

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 
package_data?

(Note: sdist perfectly works as the data files are also listed in MANIFEST.in)
tia,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

distutils on windows ignoring package_data Wilbert Berendsen <wbsoft@xs4all.nl> - 2011-05-21 10:42 +0200

csiph-web