py2app on Mac OS X 10.3

From: Austin (austin_at_maxtronic.com.tw)
Date: 12/31/04


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.



Relevant Pages

  • Re: py2app on Mac OS X 10.3
    ... > from distutils.core import setup ... > That is a sample code of wiki. ... It's an application bundle, which is a folder. ...
    (comp.lang.python)
  • Re: _StdCall Compiled DLL and Strings.
    ... sample code and documentation that accompanies it. ... To get your hands on all that, download and install the vbAdvance setup. ... a copy stored away someplace as I keep my registered version carefully back ...
    (microsoft.public.vb.general.discussion)
  • Set file permissions in ISS inside of an application ?
    ... I am searching for sample code how to setup the file permissions (IIS) ...
    (microsoft.public.dotnet.framework.setup)
  • Re: py2app and Bittornado
    ... Yeah, already saw that, which is why I said the py2app wasn't thar much ... >> I'm trying to get Bittornado to run on Mac OS X (10.4 with Python ... From the py2app documentation, ... > from distutils.core import setup ...
    (comp.lang.python)
  • Re: _StdCall Compiled DLL and Strings.
    ... The setup I have is version 3.1 ... If that is the full installer, I can put it up with a ... |> sample code and documentation that accompanies it. ... |> To get your hands on all that, download and install the vbAdvance setup. ...
    (microsoft.public.vb.general.discussion)

Loading