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


Groups > comp.lang.python > #5909

distutils on windows ignoring package_data

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <wbsoft@xs4all.nl>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '(python': 0.05; 'installed.': 0.07; 'received:localnet': 0.07; 'url:py': 0.07; 'python': 0.08; 'etc).': 0.09; 'setup.py': 0.09; 'subject:windows': 0.09; 'url:github': 0.09; 'linux': 0.11; '(note:': 0.16; 'distutils': 0.16; 'from:addr:xs4all.nl': 0.16; 'header:X-Face:1': 0.16; 'installs': 0.16; 'message- id:@xs4all.nl': 0.16; 'package).': 0.16; 'received:194.109': 0.16; 'received:194.109.24': 0.16; 'received:82.95': 0.16; 'received:xs4all.nl': 0.16; 'subject:distutils': 0.16; 'tia,': 0.16; 'url:blob': 0.16; 'to:name:python-list': 0.19; 'ignore': 0.21; 'worked': 0.24; "doesn't": 0.25; 'later': 0.26; 'windows': 0.26; 'script': 0.27; 'installed': 0.28; 'build,': 0.30; 'hi,': 0.31; 'does': 0.33; 'to:addr:python-list': 0.33; 'list': 0.33; 'install': 0.34; 'file': 0.34; 'all.': 0.35; 'header:User- Agent:1': 0.35; '2.6': 0.35; 'data,': 0.36; 'charset:us-ascii': 0.36; 'created': 0.36; 'running': 0.37; 'but': 0.38; 'data': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'listed': 0.40; 'help': 0.40; 'header:Message-Id:1': 0.62; 'perfectly': 0.65
From Wilbert Berendsen <wbsoft@xs4all.nl>
Organization www.wilbertberendsen.nl
To "python-list" <python-list@python.org>
Subject distutils on windows ignoring package_data
Date Sat, 21 May 2011 10:42:40 +0200
User-Agent KMail/1.13.5 (Linux/2.6.32-29-generic; KDE/4.5.3; i686; ; )
X-Face t; ^H#io{wm#(@U57eQ1l1`z]|~Cs]9P>sd3E4B<8>*Y~~_L9CcPWr?UsFx,yR{g|dxr!XU QGj+hj~)XO/o9,8frDyHojv.QcqQ%jbw{kMXPg)PET9(,#
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
X-Virus-Scanned by XS4ALL Virus Scanner
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1876.1305967861.9059.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 82.94.164.166
X-Trace 1305967861 news.xs4all.nl 49184 [::ffff:82.94.164.166]:35993
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5909

Show key headers only | 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