Where is PyGTK for Mac OS X?
Is there a binary out there for the current mac os x, python for PyGTK? I work with multiple desktop environments (mac, windows, gnome) and really consider python's lack of cross platform GUI's a problem. Does anyone know where I can find a built version of PyGTK and GTK for Mac? I cant clone the git repository, it keeps timing out.
I don't use macports but it seems that jhbuild works for me. Below is the steps that I've done.
- download gtk-osx-build-setup.sh from:
https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.shand save it to your home directory.
- fire up terminal and navigate to your home directory and run the command
- the shell script will warn you that
~/.local/binisn't added to your environment variable to do this, edit your
.profilefile located at your home directory and
/Users/<username>/.local/binto your environment variable. to know more on how to edit this file check out:
- after that, do a
~/.local/bin/jhbuild bootstrapcommand. it will download and install some necessary utilities.
- download and install the beta version of the gtk+ osx framework at:
- before installing the
meta-gtk-osx-python, you need to build and install some other packages that
jhbuilddoesn't install automatically, so what i did was i installed
libpngby doing the command:
~/.local/bin/jhbuild build libpng
- you also need to install
libtiffso do the command:
~/.local/bin/jhbuild build libtiff
- and also
gtk-docis needed so:
~/.local/bin/jhbuild build gtk-doc
- and finally you can now install
meta-gtk-osx-pythonby doing a:
~/.local/bin/jhbuild build meta-gtk-osx-python
Let me know if it works.