开发者

building Python py2app issue on Mac

I am trying to build an MacOS app using Python and py2app. The build error I get is

No such file or directory: '/Library/Python/2.6/site-pa开发者_如何转开发ckages/py2app-0.5.2-py2.6.egg/py2app/bundletemplate/prebuilt/main-i386'

I searched in multiple directories and files but I am unable to determine where Python or py2app is getting the path from. The prebuilt that it needs to use is called: main-intel.

Where is it pulling main-i386 from? Is there a way to override this?


better use to version 0.5.3.

svn co http://svn.pythonmac.org/py2app/py2app/trunk py2app
cd py2app
sudo /usr/bin/python setup.py install
ls /Library/Python/2.6/site-packages/py2app-0.5.3-py2.6.egg/py2app/bundletemplate/prebuilt/
main-fat       main-fat3      main-i386      main-intel     main-ppc       main-ppc64     main-universal main-x86_64

py2app - Create standalone Mac OS X applications with Python

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜