[Pythonmac-SIG] py2app 0.5.2 fails to copy main-i386 file
Brendan Simon (eTRIX)
brendan.simon at etrix.com.au
Thu Mar 10 13:05:16 CET 2011
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 ??
Thanks, Brendan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110310/9fadadb1/attachment.html>
More information about the Pythonmac-SIG
mailing list