On Feb 3, 9:35 am, Martin Zibricky <[email protected]> wrote: > David Ripton píše v So 28. 01. 2012 v 21:06 -0800: > > > 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? > > Does it work when you copy in --onedir mode the _glib.so to the dist > folder and when you rename it like > > _glib.so -> glib._glib.so > > ?
That does work, but then it finds a similar problem with gobject._gobject.so When I copy _gobject.so into dist/ and rename it gobject._gobject.so, then it complains about missing gdk. (Just gdk, not gdk.so or anything like that.) When I create dist/gdk/__init__.py or dist/gdk.py, I get "ImportError: cannot import name DeprecationWarning" So it appears that _glib.so was just the tip of the iceberg. -- 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.
