[Pythonmac-SIG] Trouble with py2app not building standalone on 10.5 Leopard

Derrick Hendricks hendricks52 at gmail.com
Mon Mar 31 23:04:23 CEST 2008


I am using py2app 0.3.6 installed using easy install on my 10.5 Leopard
distribution.


I am trying to package a piece of software into a completely stand alone app
so I can distribute it to other mac users.  Currently, I'm using
10.5Leopard and am not having much luck.  When creating this app, the
python
that gets added to the Contents/MacOS is a link to:
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python


While this will work for just about all stock 10.5 computers, this will not
work for anything that doesn't have python 2.5 installed, and I need to
package this for 10.3 and 10.4  for both PPC and i386 also, and these
machines do not have python 2.5 unless they were added later.


I did not use the -s switch that is supposed to create a semi-standalone app
and I did not tell it to skip macholib.  Also, I have run the
macho_standalone separately and that has not yielded any better results.


Simply copying the python interpreter into the directory doesn't work either
as it fails with a module traceback not found error.  What I need is a way
to completely include the interpreter and everything that it needs into the
app bundle.


Any help on this matter is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20080331/04ab76e6/attachment.htm 


More information about the Pythonmac-SIG mailing list