Python scripts on Win32 - working now!
Hi,
just wanted to let you know that I have a working pygimp on my win32
system. To get there, I used:
ActivePython 2.3 from http://www.activestate.net/Products/ActivePython/
PyGTK 2.2.0 from http://www.mapr.ucl.ac.be/~gustin/win32_ports/pygtk.html
In order to get the gimp python module working with ActivePython, it has
to be built with Python's distutils, not the autotools build as it is
used currently. Are there any disadvantages or other problems when doing
so, or could this probably be used on all platforms?
And, last but not least, there is a small change to GIMP in order to run
python scripts. glib's g_spawn_async can't yet run them on win32 (see
http://bugzilla.gnome.org/show_bug.cgi?id=98737), so running them via
pythonw.exe from within GIMP is a possible workaround. A patch from
Manish Singh works so far. It might need some more work, but having it
applied - at least until glib catches up - will bring great joy to the
Win32 GIMP community :)
Michael