[Pythonmac-SIG] py2app
Christopher Barker
Chris.Barker at noaa.gov
Wed Feb 4 01:05:19 CET 2009
Henning Hraban Ramm wrote:
> Hm, what do you mean? Should there be a standalone py2app script anywhere?
nope.
> I know only "python setup.py py2app",
right, so you add the -A:
python setup.py py2app -A
> and therefore I'd need to write a
> setup.py
which is trivial for the simple case, and you can use the py2applet
script to build it for you.
$ py2applet
usage: py2applet --make-setup [options...] script.py [data files...]
or: py2applet [options...] script.py [data files...]
or: py2applet --help
but yes, if you just want to run a really quickie little GUI script, you
want to just run it! Which is why we all want that to still work.
The alias option works great for a small-to-huge GUI app under
development, though -- once you've built the applet, you can just keep
using it as you change your code, and it give you drag and drop and all
that.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list