GNOME Bugzilla – Bug 626225
Migrate from PyGTK to PyGObject introspection-based bindings
Last modified: 2011-03-03 04:17:13 UTC
Grep'ing for pygtk-2.0 it seems that this module uses the stable bindings provided by PyGTK.
As it is unlikely that anybody will continue maintaining these stable bindings, applications using PyGTK should be ported to using the dynamic Python bindings provided by PyGObject (now that PyGI has been merged into PyGObject).
The feedback on migration provided by application maintainers will also help PyGObject to improve its dynamic bindings.
Please see http://live.gnome.org/GnomeGoals/PythonIntrospectionPorting for more information and guidelines.
For help there is a mailing list at http://www.daa.com.au/mailman/listinfo/pygtk . For getting involved in the development of pygobject there is a mailing list at http://mail.gnome.org/mailman/listinfo/python-hackers-list . There is also the #python IRC channel on irc.gimp.net.
./glade3/configure.ac: PKG_CHECK_MODULES(PYGTK, [pygtk-2.0 >= 2.10.0], [have_python=yes],[have_python=no])
[Removing 3.0 target as this is not a hard blocker, but a nice to have]
Created attachment 181966 [details] [review]
Migrate from PyGTK to PyGObject
Tested with pythonplugin.py and works fine. This patch doesn't check for the situation where pygobject is installed but no Gtk in the gir repository. If that is required, I suggest create a new bug.
Created attachment 181967 [details] [review]
Migrate docs from PyGTK to PyGObject
Thanks for the patch, its applied in master.
BTW: the is a weird syntax error in pygobject if you run it with python 2.5.5