Bob, I just upgraded my development machine to Tiger... And something weird is happening...
The application is working fine from the command line, using pythonw.... But if I py2app it.... I am using the Stock v2.3.5 of Python, and have installed TigerFix... ---mac_build.py---- from distutils.core import setup import py2app py2app_options = { 'argv_emulation':True, 'optimize':2, 'compressed':1} data_files = [ ("", ["AUDIT.INI", "AUDIT_GUI.RSRC.PY", "sample_audit.ini", "clean_desk.rpt", "software.rpt"]) ] setup ( app=['audit_gui.py'], options={"py2app": dict(py2app_options)}, data_files= data_files ) ----------------- I get the following console exception... Traceback (most recent call last): File "/Users/benjamin/Desktop/Auditor Source (Mac)/dist/audit_gui.app/Contents/Resources/__boot__.py", line 42, in ? _run('audit_gui.py') File "/Users/benjamin/Desktop/Auditor Source (Mac)/dist/audit_gui.app/Contents/Resources/__boot__.py", line 39, in _run execfile(path, globals(), globals()) File "/Users/benjamin/Desktop/Auditor Source (Mac)/dist/audit_gui.app/Contents/Resources/audit_gui.py", line 81, in ? from PythonCard import model File "PythonCard/model.pyo", line 24, in ? ImportError: No module named wxPython.wx 2005-08-09 11:41:19.910 audit_gui[743] audit_gui Error 2005-08-09 11:41:19.910 audit_gui[743] An unexpected error has occurred during execution of the main script ImportError: No module named wxPython.wx See the Console for a detailed traceback. wxPython appears to be working fine.... And so is pythoncard.... At least from the command line.... So I am not positive where to start looking.... Any suggestions? - Ben > -----Original Message----- > From: Bob Ippolito [mailto:[EMAIL PROTECTED] > Sent: Friday, August 05, 2005 9:42 AM > To: Schollnick, Benjamin > Cc: pythonmac-sig@python.org > Subject: Re: [Pythonmac-SIG] Py2app Question... > > > > On Aug 5, 2005, at 3:29 AM, Schollnick, Benjamin wrote: > > > Folks, > > > > I just started using py2app.... So this is probably due to > operator > > error... But I'm quite surprised that the actual application's .py > > file is > > stored > > in the > > py2app bundle. I expected the PYC file to be used. > > > > While it's not a "huge" concern, I don't like the idea of anyone > > with a > > text > > editor being able to see my source code for the main unit.... > > > > Is there someway to force it to use a PYC instead? > > Use a script that imports your module, instead of using your module > directly. > > -bob > > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig