On Feb 2, 2005, at 1:59 AM, Chris Jerdonek wrote:


I'm in the same boat with C. Jerdonek, though I suspect I know less. So when I saw this passage, I hung, as always, on every word from py2app's own master. Aha! I said.

I think I know less, Charles.

I tried the hello.py sample in the Developer directory.

I copied hello & setup.py to a separate directory and ran --
python setup.py py2app

This created an executable icon in the Finder called "hello" in a directory called "dist". Will this always be the stand-alone app? (From the command line hello.app is a directory, which I don't understand.)

Yes,

See: http://developer.apple.com/documentation/MacOSX/Conceptual/ SystemOverview/AppPackaging/chapter_5_section_2.html

Anyways, I double-clicked the hello icon. It appeared on the dock and immediately collapsed without any output. Is this the desired behavior?

Yes that is expected behavior, if you open up Console you will see a bunch of information about the environment that hello.py ran in. Examples that demonstrate GUI behavior depend on third party stuff.


-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to