![]() Build gimpmodule.so: python setup.py build.2.0): from re import setup, Extensionmodule1 = Extension('gimpmodule', sources =, include_dirs =, library_dirs =, libraries=)setup (name = 'gimpmodule', version = '1.2', description = 'Library for PyGimp', ext_modules = ) 1.2) or use the one below for gtk+2 (ver. Create a setup.py file as shown here for gtk+ (ver.I built gimpmodule.so using Python distutils. The symptom of this problem is that " import gimpfu" fails because" import gimp" fails. ![]() Fixed problem where gimpmodule.so is not built.Make and install: makesudo make install.Optionally, edit python files for gtk-2 as described below.cd pygimp-1.2/cp /usr/share/libtool/config.guess. Fix a "Can't determine host type" problem with.I make no claims that this is the bestway or that this will be relevant when everyone moves to GIMP 2.0 and beyond, but I hope maybe it will help someone. First are what I did for GTK+ (1.2) followed by the differences for GTK+2 (2.0). Here is how I built pygimp 1.2 for GIMP 1.2.5 from Fink 0.6.2 installed to /sw onMac OS X 10.3.3. Being able to use Python to write GIMP plugins is nice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |