From Fedora Project Wiki

(link to upstream bug)
(Add archive category)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


== PyGTK2 and Numpy ==
== PyGTK2 and Numpy ==
{{admon/note||This is a temporary workaround which may be resolved in the future. It will no longer be necessary when [[http://bugzilla.gnome.org/show_bug.cgi?id=591745 gnome bug #591745]]  is fixed.}}
If your package uses pygtk2, and calls the gtk.gdk.get_pixels_array() function, that package needs to explicitly Require: numpy. In the past, pygtk2 had a Requires on numpy, but since it is only used for that one function (and that function is not commonly used), the Requires has been removed to minimize the install footprint of pygtk2.
If your package uses pygtk2, and calls the gtk.gdk.get_pixels_array() function, that package needs to explicitly Require: numpy. In the past, pygtk2 had a Requires on numpy, but since it is only used for that one function (and that function is not commonly used), the Requires has been removed to minimize the install footprint of pygtk2.


NOTE: This is a temporary workaround which may be resolved in the future. See [http://bugzilla.gnome.org/show_bug.cgi?id=591745 gnome bug #591745].
[[Category:Archived packaging guideline drafts]]

Latest revision as of 19:12, 15 September 2009

Draft

This is proposed addendum to Packaging/Python

PyGTK2 and Numpy

Note.png
This is a temporary workaround which may be resolved in the future. It will no longer be necessary when [gnome bug #591745] is fixed.

If your package uses pygtk2, and calls the gtk.gdk.get_pixels_array() function, that package needs to explicitly Require: numpy. In the past, pygtk2 had a Requires on numpy, but since it is only used for that one function (and that function is not commonly used), the Requires has been removed to minimize the install footprint of pygtk2.