[pygtk] Checking version of PyGTK from withing Python

2008-05-19 Thread Mitko Haralanov
Is there a way to check the version of PyGTK from within my Python program? I know of pygtk.require() but that returns False for anything higher then 2.0, even though I have pygtk-2.12 installed. -- Mitko Haralanov ==

Re: [pygtk] Checking version of PyGTK from withing Python

2008-05-19 Thread David Ripton
On 2008.05.19 11:34:27 -0700, Mitko Haralanov wrote: Is there a way to check the version of PyGTK from within my Python program? I know of pygtk.require() but that returns False for anything higher then 2.0, even though I have pygtk-2.12 installed. $ python import gtk [x for x in dir(gtk)

Re: [pygtk] Checking version of PyGTK from withing Python

2008-05-19 Thread Mitko Haralanov
On Mon, 19 May 2008 13:20:23 -0700 David Ripton [EMAIL PROTECTED] wrote: $ python [...] ['check_version', 'gtk_version', 'pygtk_version', 'ver'] [...] (2, 10, 4) [...] (2, 10, 1) [...] (2, 12, 1) I am sorry but your reply is not very useful. Are those methods of a module?

Re: [pygtk] Checking version of PyGTK from withing Python

2008-05-19 Thread David Ripton
On 2008.05.19 14:04:25 -0700, Mitko Haralanov wrote: On Mon, 19 May 2008 13:20:23 -0700 David Ripton [EMAIL PROTECTED] wrote: $ python [...] ['check_version', 'gtk_version', 'pygtk_version', 'ver'] [...] (2, 10, 4) [...] (2, 10, 1) [...] (2, 12, 1) I am sorry