[Pythonmac-SIG] Build python app using wxpython on intel-leopard and deploy on powerpc-tiger?
hari jayaram
harijay at gmail.com
Thu Oct 8 17:21:01 CEST 2009
Just tried a "hello world " app to troubleshoot py2app as Chris Barker
suggested.
When I say
open sayhello.app
Nothing happens. No additional console opens . IS this the normal behavior.
Here is my hello world style app and its setup.py ( see below)
Should the app created with py2app automatically open a console?
Even if I click on the *.app icon..nothing happens.
Hari
###############
printto100.py
###############
def main():
print "Hello, world!"
for i in range(100):
print i
if __name__ == "__main__":
main()
#############
setup.py
#############
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['printo100.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True, 'iconfile': './gzilla_ico_fin.icns'}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
On Wed, Oct 7, 2009 at 7:28 PM, Christopher Barker
<Chris.Barker at noaa.gov> wrote:
> hari jayaram wrote:
>>
>> Thanks Chris for your emails..
>
> one more thought -- this is looking like it may have nothing to do with
> wxPython -- try a simple "hello world" script, and see what happens.
>
>
> -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
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
More information about the Pythonmac-SIG
mailing list