On Feb 5, 5:03 pm, Martin Zibricky <[email protected]> wrote: > David Ripton píše v Pá 03. 02. 2012 v 20:08 -0800: > > > 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. > > May I know how did you install PyGTK? I would like to test it on my > machine.
I used jhbuild. I think these are the exact steps: On Mac OS 10.6 Snow Leopard Download Xcode from Mac Dev Center and click the installer Download http://git.gnome.org/browse/gtk-osx/plain/gtk-osx-build-setup.sh sh gtk-osx-build-setup.sh Add the following to your $HOME/.bash_profile: export PATH=:~/.local/ bin:~/gtk/inst/bin:$PATH source $HOME/.bash_profile sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2 sudo ln -s /usr/bin/g++ /usr/bin/g++-4.2 jhbuild bootstrap jhbuild build python jhbuild build meta-gtk-osx-bootstrap jhbuild build meta-gtk-osx-core jhbuild buildone pycairo jhbuild build pygtk Thanks. -- 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.
