[Pythonmac-SIG] py2app improperly using system framework

Nat Echols nathaniel.echols at gmail.com
Wed Apr 6 01:48:19 CEST 2011


I'm using py2app from the latest SVN, along with an installation of Python
2.7 in a non-standard location.  I don't get any error messages during
running either py2applet or 'setup.py py2app', but at some point during app
building, it starts copying over parts of the system's Python (2.6!)
installation.  Here is where it starts to fall apart:

copying /net/clover/scratch1/python/bin/python ->
/private/var/tmp/mac_app-dev-720/dist/PHENIX-dev-720.app/Contents/MacOS
linking
/private/var/tmp/mac_app-dev-720/dist/PHENIX-dev-720.app/Contents/Frameworks/python.framework/Python
-> Versions/Current/Python
linking
/private/var/tmp/mac_app-dev-720/dist/PHENIX-dev-720.app/Contents/Frameworks/python.framework/Resources
-> Versions/Current/Resources
copying /Library/Frameworks/python.framework/Versions/2.6/bin/2to3 ->
/private/var/tmp/mac_app-dev-720/dist/PHENIX-dev-720.app/Contents/Frameworks/python.framework/Versions/2.6/bin

and then it proceeds to copy over most of the modules from 2.6.  The
resulting app is unusable, because it has the Python 2.7 binary which
expects the modules in a 'python2.7' folder, but it's actually 'python2.6'.
 I've tried reinstalling everything multiple times and nothing I have tried
works.  This was working fine on 10.4 with py2app 0.5.2, but I had to
upgrade py2app for it to even run on Snow Leopard.  What am I missing here?

thanks,
Nat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110405/08e54f24/attachment.html>


More information about the Pythonmac-SIG mailing list