[MacPorts] #40179: Can't import gi.repository after installing gtk3
MacPorts
noreply at macports.org
Wed Aug 21 02:06:43 PDT 2013
#40179: Can't import gi.repository after installing gtk3
------------------------+--------------------------------
Reporter: istlota@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: invalid | Keywords:
Port: gtk3 |
------------------------+--------------------------------
Comment (by cal@…):
Replying to [comment:5 istlota@…]:
> Am I correct that py27-gobject3 is what creates my gi.repository dynamic
binding from python to gtk3?
Partially, yes. `py27-gobject3` provides the `gi.repository` to import
from. What can be imported from `gi.repository` depends on what GObject-
Introspection typelibs are available in
`/opt/local/lib/girepository-1.0/`. The GObject typelib is created by the
gobject-introspection port; other typelibs might be installed by different
ports: e.g., the Gtk-3.0 typelib is installed by the gtk3 port.
--
Ticket URL: <https://trac.macports.org/ticket/40179#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list