Re: [Pythonmac-SIG] Problem with py2app 0.6

2011-04-05 Thread Ronald Oussoren

On 4 Apr, 2011, at 21:04, Russell E. Owen wrote:

> In article ,
> Russell Owen  wrote:
> 
>>> On 29 Mar, 2011, at 22:02, Russell E. Owen wrote:
>>> 
 I used easy_install to install py2app 0.6 and tried it out on one of 
 several applications I distribute. Unfortunately the build failed with;
>>> 
>>> The testsuite is obviously not good enough yet to catch all errors.  I've 
>>> done some changes in how py2app deals with source files to clean up the 
>>> code that deals with zipped egg files, and that obviously introduced a 
>>> problem.
> 
> Ronald Oussoren fixed the problem in the current py2app "trunk", which 
> is a prerelease of 0.6.2.

I forgot to report that the fix is already in release 0.6.1.

Ronald
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


[Pythonmac-SIG] py2app improperly using system framework

2011-04-05 Thread Nat Echols
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
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG