Hello Sean, I just installed the latest version from bitbucket.
Everything goes fine with the .app generated with the alias mod ("python setup.py py2app -A") Unfortunately when I want launch the production .app (generated by "python setup.py py2app", cleaned /buid and /dist before) I have: 11/22/11 3:17:52.554 PM [0x0-0xc60c6].org.pythonmac.unspecified.myapp: ImportError: '/usr/lib/python2.7/lib-dynload/wx/_core_.so' not found I can see py2app did put this file here in the .app: /dist/my.app/Contents/Resources/lib/python2.7/lib-dynload/wx Why don't the .app try to access them there? (wx is not in /usr/lib/python2.7/lib-dynload/wx/ and probably shouldn't be when i'll distribute the .app to people not having this lib) I also tried to put the wx folder (with the .so files) at the same level as myapp.py but same problem. What can I do? I really appreciate your help a lot, thanks in advance. If it's of any use here is my setup.py file: """ This is a setup.py script generated by py2applet Usage: python setup.py py2app """ from setuptools import setup APP = ['myapp.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': True} setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], ) Francois On Mon, Nov 21, 2011 at 6:37 PM, Sean Robinson < sean.robin...@sccmail.maricopa.edu> wrote: > On 11/21/2011 08:04 AM, schneo wrote: > >> Hello list!, >> >> Context: OSX Lion, native Apple Python and PyObjC (all 64 bits). >> >> The setup.py and build phase from py2app seems to work great (no >> complaints) until i'm launching the .app: >> >> Console: >> from AppKit import NSBeep >> ImportError: No module named AppKit >> from Quartz import * >> ImportError: No module named Quartz >> >> Is py2app works with Apple Python and pyobjc on OSX Lion? >> >> > What version of py2app are you using? This looks much like the symptoms > I was getting with 0.6.3. Try the latest version from > https://bitbucket.org/**ronaldoussoren/py2app<https://bitbucket.org/ronaldoussoren/py2app> > > > -- > Sean Robinson > Laboratory Technician > Physics Astronomy Geology > sean.robinson@sccmail.**maricopa.edu <sean.robin...@sccmail.maricopa.edu> >
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG