Red Hat Bugzilla – Bug 166143
pygtk2 should be compiled with Numeric Python support
Last modified: 2013-03-13 00:48:44 EDT
... so that I can use gtk.gdk.Pixbuf.get_pixels_array() to modify gdk_pixbuf
images from python. Pretty please? ;-)
Dug a little further -- the spec file uses "--enable-numpy" but doesn't
"BuildRequires: python-numeric" so configure won't build with it.
Want me to fix and rebuild?
This is a Terrible Idea, IMHO, although I see it is now part of the current
pygtk2 update. First of all, python-numeric is at version 23.7 of Numeric while
the current version is 23.8. I can't install 23.8 on a new system without doing
something like "rpm -e --force python-numeric" and installing my local version
of 23.8, in which case who knows what happens? Second, the Numeric package is
about to replaced altogether by the new Python array type. See
for more information.
* When pygtk switches to using ArrayObject then we will move to that.
* Why don't you file a bug against python-numeric so it gets updated to the
Seconded, python-numeric support is needed for certain functionality in pygtk
(e.g. to manipulate in memory images). Frankly, what lies behind that
functionality doesn't matter much to me, as long as it's there.