简体   繁体   中英

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-packages/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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM