I'm using OS X Mavericks with system Python 2.7.
I installed PyGObject, GTK+ and glade as I descripted below, but Python doesn't see gtk.glade module.
All libraries from Homebrew:
brew install libglade
brew install gtk+
brew install pygobject
Also, I set PYTHONPATH in .bash_profile to:
export PYTHONPATH=/usr/local/lib/python2.7/site-packages
When I run Python and try import pygtk or gtk - all works fine. But when I try to load gtk.glade I get no module error.
So I'll try install pygobject with --verbose mode and I noticed, that installer couldn't find libglade:
checking for LIBGLADE... no
…
The following modules will be built:
atk
pango
pangocairo
gtk with 2.24 API
gtk.unixprint
The following modules will NOT be built:
gtk.glade
I assumed that pygobject installer can't find path to libglade (which is installed to /usr/local/Cellar/libglade/2.6.4).
How and what path should I change? Or what else to do?
Thanks in advance!