#33054: gtk3 @3.0.12 +introspection build failure --------------------------------+------------------------------------------- Reporter: msm@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gtk3 gobject-introspection --------------------------------+------------------------------------------- Comment(by msm@…): Replying to [comment:4 Deil.Christoph@…]:
I am new to GTK and would like to use it from python. This tutorial ( http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html ) uses {{{ from gi.repository import Gtk }}}
Is this python GTK3 package available via Macports?
Which port / variant to I have to install to get it?
To get Gtk-3.0 working with Python you will need to build this port(Gtk3) with introspection enabled. I was able to get introspection enabled by applying the patches posted here and then building those ports. You will also need to install the gobject-introspection port and pygobject. Feel free to email me if you want to chat more about setting up Gtk3 with Python. -- Ticket URL: <https://trac.macports.org/ticket/33054#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS