Hey all, I've got a py2app bundle working nicely, and it works fine when I fire ti up from the command line, but when I double click on it, I get a sys.argv that looks like:
sys.argv is: ['/Users/cbarker/HAZMAT/hazweb/trunk/cameo/StandAlone/dist/cameo_standalone.app/Contents/Resources/cameo_standalone.py', '-psn_0_21364737'] Where is that "-psn_0_21364737" coming from, and how to I get rid of it? My setup.py: from setuptools import setup Plist={} APP = ['../bin/cameo_standalone.py'] DATA_FILES = ['CameoWeb.icns', '../cameo.durus', '../static'] OPTIONS = {'argv_emulation': False, # this puts the names of dropped files into sys.argv when starting the app. 'iconfile': 'CameoWeb.icns', 'plist': Plist, # 'packages': ['cameo'],# this works, but includes a lot of extra stuff 'packages': [], } setup( app=APP, data_files=DATA_FILES, #version=cameo.__version__, description="Cameo Chemicals database stand alone application", author="NOAA Emergency Response Division", author_email="[EMAIL PROTECTED]", options={'py2app': OPTIONS}, setup_requires=['py2app'], ) Thanks, -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 [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig