From Fedora Project Wiki

No edit summary
(Add archive category)
 
(3 intermediate revisions by 2 users 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 will be resolved in the future. See: INSERT-LINK-TO-PYGTK2-BUG-HERE
[[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.