RSS/Atom feed Twitter
Site is read-only, email is disabled

Python scripts on Win32 - working now!

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Python scripts on Win32 - working now! Michael Schumacher 12 Jun 00:54
Michael Schumacher
2004-06-12 00:54:50 UTC (almost 20 years ago)

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