On Thu, Mar 6, 2008 at 2:05 AM, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 6 Mar, 2008, at 8:59, Lukáš 'Spike' Polívka wrote: > >> > > > > I think we are on the right track with PYTHONPATH. > > > > I have to export > > PYTHONPATH=/Library/Python/2.5/site-packages:/System/Library/ > > Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages > > - even when running Jabbim without py2app (or as aliased bundle). > > The first path is for Twisted, the second one is for PyQt4 (SIP?). > > Don't ask me why it's not installed in "better" locations, where > > PYTHONPATH is not needed… I think I have installed it according to > > docs. > > What OS are you running, and which python executable do you use > ("which python" in a terminal window)? If you're using /usr/bin/python > on OSX 10.5 the interpreter should use these directories automaticly. > A Python.org installation won't. > > > > > > > > I guess I did not read documentation thoroughly. I assumed that if I > > use --use-pythonpath option, py2app would somehow take care of > > "everything". > > --use-pythonpath lets the generated application bundle use the value > of PYTHONPATH. If you need that your application bundle is not self- > contained, which is the whole point of py2app. > > > > > > > > Using py2app-0.3.6-py2.5.egg. > > Could you try again using the current development version of py2app > ("easy_install py2app==dev" should do the trick)? Py2app 0.3.6 doesn't > have explicit support for PyQt, which is needed because the generic > dependency scanner cannot detect all dependencies of PyQt applications > (because PyQt does some imports in C code, and the dependency scanner > cannot "see" those).
(Replying again, this time doing reply-ALL) I think you ran into the same issue that I experienced: http://mail.python.org/pipermail/pythonmac-sig/2008-March/019791.html The same workaround may work for you. ~ Nathan _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig