[pygtk] PyGTK 2.17 for Windows

Jason Heeris jason.heeris at gmail.com
Thu Jul 1 14:52:36 WST 2010


I'm trying to get a PyGTK app going on a Windows XP installation. It
requires PyGTK 2.17. I have Python 2.6 and GTK 2.18 set up just fine,
but of course there's no binary installer for PyGTK 2.17. So I grabbed
the source from FTP[1], along with PyGObject, intending to build it
under MinGW.

But it turns out I need PyGI to build PyGObject, and PyGI requires
"Python development tools" to build, and searching the web for that
problem yields nothing useful.

So before I embark on some odyssey of pain trying to get this all to
work, my question is: is there an easier way? A binary installer for
PyGI for Windows? A binary installer for PyGTK 2.17?

Please keep me CCd on replies.

Cheers,
Jason Heeris

PS. By the way, I usually work on a Debian Squeeze/Sid system, with
PyGTK 2.17.0 (installed from Debian repo). I thought maybe I could
take the 2.17 tarball and build it somewhere in my home dir, but:

~/Projects/python-virt2/pygobject-2.21.4$ ../bin/python setup.py build
--compiler=mingw32 --enable-threading --yes-i-know-its-not-supported
bdist_wininst
Error: distutils build only supported on windows

Nuts.

[1] http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.17/


More information about the pygtk mailing list