On Feb 2, 11:46 am, Hartmut Goebel <[email protected]> wrote: > Am 29.01.2012 06:06, schrieb David Ripton:> The non-PyInstaller version of my > program works fine on Mac OS, so I > > know GTK+, glib, and my other dependencies are there on the build > > box. But it appears that _glib.so isn't getting included in the > > PyInstaller build. Does anyone have a PyGTK program successfully > > building on Mac OS with PyInstaller? > > Did you follow <http://www.pyinstaller.org/wiki/FAQ#IfThingsGoWrong>?
Yes. I tried --onedir but it didn't seem to help. ArchiveViewer.py shows glib._glib.so and libglib-2.0.0.dylib are in my executable. But the import fails. glib's __init__.py does "from glib._glib import *" to move functions from the extension module into the main namespace. That may be causing the confusion. But it works on Windows. I tried adding a hook, but it didn't help. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
