[Pythonmac-SIG] py2app 0.5.2 fails to copy main-i386 file

Ronald Oussoren ronaldoussoren at mac.com
Thu Mar 10 15:04:08 CET 2011


On 10 Mar, 2011, at 7:05, Brendan Simon (eTRIX) wrote:

> I upgraded to py2app 0.5.2 and now my app does not build :(
> I'm using OS X 10.6 and Python 2.5.4 from python.org.
> 
>   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/shutil.py", line 51, in copyfile
>     fsrc = open(src, 'rb')
> IOError: [Errno 2] No such file or directory: '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app/apptemplate/prebuilt/main-i386'
> > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/shutil.py(58)copyfile()
> -> fsrc.close()
> (Pdb) interrupted
> make: *** [dist/SureAnalysis.app] Error 1
> 
> I thought I read that this was fixed in 0.5.2 (from 0.5.1) but it does not seem to be the case.
> 
> I did see a message to copy main-fat to main-i386.  I tried that and the app builds ok.
> I note that there is also main-intel, main-universal, etc.  I presume main-fat is the one to use ??
> 
> My app does not parse the command line arguments anymore when invoked with 'open'
> e.g. $ open myurl:mycommand
> 
> I remember modifying something with argv emulation quite a while ago (1 or 2 years ago).  Is this still expected with py2app 0.5.2 ??

There is a problem with the source package of py2app. I want to do a new release later this week that fixes the issue.

(The problem is that not all files are included in the sdist archive because our setup.py relied on setuptools including all files that are in the repository, and that no longer works because we switched to mercurial).

Ronald

> 
> Thanks, Brendan.
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110310/44c2ffd3/attachment.html>


More information about the Pythonmac-SIG mailing list