Re: py2app and Bittornado



Yeah, already saw that, which is why I said the py2app wasn't thar much
help. That just seems to create a broken .app file.

You wouldn't happen to know a nice way to interact with the
PythonMac-SIG group without subscribing and subjecting my inbox to rape
by a bunch of useless messages would you?

Robert Kern wrote:
> bsharitt@xxxxxxxxx wrote:
> > I'm trying to get Bittornado to run on Mac OS X (10.4 with Python
> > 2.3.5) but I've only ever dealt with Python at lower lever scripting
> > stuff, never wxPython or another GUI stuff. py2app is supposed to be
> > the tool to create Mac friendly Python applications(like py2exe on
> > Windows), but the documentation for py2app doesn't seem to be much
> > help. The setup.py script that comes with BitTornado doesn't run when I
> > type python setup.py py2app and produces the following error:
> >
> > usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> > or: setup.py --help [cmd1 cmd2 ...]
> > or: setup.py --help-commands
> > or: setup.py cmd --help
> >
> > error: invalid command 'py2app' (no module named
> > 'distutils.command.py2app')
>
> You need to write a setup.py (actually, probably you should name it
> something else like "setup-app.py") that specifies the appropriate
> information. From the py2app documentation, the simplest example would be
>
> from distutils.core import setup
> import py2app
>
> setup(
> app=['MyApplication.py'],
> )
>
> Then you can do
>
> python setup-app.py py2app
>
> If you need more help, I suggest asking on the PythonMac-SIG mailing list.
>
> --
> Robert Kern
> rkern@xxxxxxxx
>
> "In the fields of hell where the grass grows high
> Are the graves of dreams allowed to die."
> -- Richard Harter

.



Relevant Pages

  • Re: py2app and Bittornado
    ... > I'm trying to get Bittornado to run on Mac OS X (10.4 with Python ... but the documentation for py2app doesn't seem to be much ... The setup.py script that comes with BitTornado doesn't run when I ...
    (comp.lang.python)
  • Re: Difficulty with "inconsistent use of tabs and spaces in indentation" in file called
    ... You should report this to the py2app   ... python source code and when I switched to Xcode as my new editor, ... tabs, remove all of the offending tabs and voila. ...
    (comp.lang.python)
  • Re: comparing alternatives to py2exe
    ... I noticed information on py2app was mostly missing from your chart. ... --single exe file: yes, with qualification. ... --creates installer too: yes, with qualification. ... You can also use py2app to package up Python ...
    (comp.lang.python)
  • py2app and Bittornado
    ... I'm trying to get Bittornado to run on Mac OS X (10.4 with Python ... but the documentation for py2app doesn't seem to be much ... The setup.py script that comes with BitTornado doesn't run when I ...
    (comp.lang.python)
  • py2app on Mac OS X 10.3
    ... % python setup.py py2app ... from distutils.core import setup ... That is a sample code of wiki. ... I feel so wildered because 'main.app' should be a file not a folder. ...
    (comp.lang.python)