py2app on Mac OS X 10.3
From: Austin (austin_at_maxtronic.com.tw)
Date: 12/31/04
- Next message: Bulba!: "Re: More baby squeaking - iterators in a class"
- Previous message: Ian Bicking: "Re: Securing a future for anonymous functions in Python"
- Next in thread: Ronald Oussoren: "Re: py2app on Mac OS X 10.3"
- Reply: Ronald Oussoren: "Re: py2app on Mac OS X 10.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 18:12:41 +0800
"""
Minimal setup.py example, run with:
% python setup.py py2app
"""
from distutils.core import setup
import py2app
setup(
app = ['main.py'],
)
That is a sample code of wiki.
I have a file 'main.py' and several sub-folders.
After I execute 'pythonw setup.py py2exe', I see 2 folders, 'dist' & 'build'
which is the same as py2exe.
I open the 'dist' folder and see a file 'main'. Then I double-click the
'main' and appeared the error message.
'IOError:[Errno 2] No such file or directory:
'/user/austin/Desktop/disk/main.app/Contents/Resources/log/eventlog.xml
I feel so wildered because 'main.app' should be a file not a folder.
I was wondering if some extra codes needed by setup.py
Could anyone give me an advice?
Thanks a lot.
- Next message: Bulba!: "Re: More baby squeaking - iterators in a class"
- Previous message: Ian Bicking: "Re: Securing a future for anonymous functions in Python"
- Next in thread: Ronald Oussoren: "Re: py2app on Mac OS X 10.3"
- Reply: Ronald Oussoren: "Re: py2app on Mac OS X 10.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|