Skip to content

Commit

Permalink
Display the pygobject and glib versions when testing any of the Gtk* …
Browse files Browse the repository at this point in the history
…backends.

svn path=/trunk/matplotlib/; revision=3485
  • Loading branch information
mdboom committed Jul 9, 2007
1 parent e6f8434 commit f985fc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions unit/memleak_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@
backend = options.backend.lower()
if backend.startswith("gtk"):
import gtk
print "# pygtk version: %s, gtk version: %s" % \
(gtk.pygtk_version, gtk.gtk_version)
import gobject
print "# pygtk version: %s, gtk version: %s, pygobject version: %s, glib version: %s" % \
(gtk.pygtk_version, gtk.gtk_version,
gobject.pygobject_version, gobject.glib_version)
elif backend.startswith("qt4"):
import PyQt4.pyqtconfig
print "# PyQt4 version: %s, Qt version %x" % \
Expand Down

0 comments on commit f985fc2

Please sign in to comment.