[Pythonmac-SIG] py2app includes all python documentation in the app

Frank Niessink frank at niessink.com
Tue Apr 18 21:57:10 CEST 2006


Hi all,

I'm bundling an app with py2app. Somehow, py2app is including *all* 
python documentation. There are numerous messages by py2app like this 
one while building the app:

copying 
/Library/Frameworks/Python.framework/Versions/2.4/Resources/English.lpro
j/Documentation/acks.html -> 
/Users/frank/taskcoach/build/TaskCoach.app/Contents
/Frameworks/Python.framework/Versions/2.4/Resources/English.lproj/Documentation

Python 2.4.1
py2app 0.2
(wxPython 2.6.3.2 in case it matters)

How can I find out why py2app is including the docs? I tried creating 
the dependency graph, but "grep Documentation TaskCoach.dot" comes up 
empty, so apparently it is not a dependency issue. It seems py2app is 
simply copying 
/Library/Frameworks/Python.framework/Versions/2.4/Resources/ and 
everything below it. Why? And how to prevent it?

Thanks in advance, Frank


More information about the Pythonmac-SIG mailing list