py2app question: Resources/Python -> Resources/lib/python2.4
Russell E. Owen
rowen at cesmail.net
Fri Sep 8 22:08:15 CEST 2006
I was using an older version of py2app to distribute an application.
This placed the python library code in TUI.app/Contents/Resources/Python
I just upgraded to py2app 0.3.5 and now I find the same stuff is being
put in TUI.app/Contents/Resources/lib/python2.4
This change breaks my code because resource files need to go in the same
location, though I can certainly modify the code that copies the
My main question is: am I seeing this change because I'm doing something
wrong (in which case I'd like to fix it)? Or is it just the new way to
do things (in which case I can modify my resource copying code)?
If it's the new way to do things, is there a recommended way to find
this directory automatically (or copy directory trees of files into it
automatically without knowing its name) -- to insulate myself against
future such changes?
More information about the Python-list