[PyQt] determining pyqt version

2009-07-18 Thread Wolfgang Rohdewald
I am doing that with: import PyQt4.pyqtconfig PYQTVERSION = PyQt4.pyqtconfig.Configuration().pyqt_version_str but now that I tried to deploy it I see that this imports sipconfig which is part of the ubuntu package python-sip4-dev I do not want to depend on -dev packages on target machines, is

Re: [PyQt] determining pyqt version

2009-07-18 Thread Phil Thompson
On Sat, 18 Jul 2009 11:59:23 +0200, Wolfgang Rohdewald wolfg...@rohdewald.de wrote: I am doing that with: import PyQt4.pyqtconfig PYQTVERSION = PyQt4.pyqtconfig.Configuration().pyqt_version_str but now that I tried to deploy it I see that this imports sipconfig which is part of the ubuntu

Re: [PyQt] determining pyqt version

2009-07-18 Thread Wolfgang Rohdewald
On Saturday 18 July 2009, Phil Thompson wrote: On Sat, 18 Jul 2009 11:59:23 +0200, Wolfgang Rohdewald wolfg...@rohdewald.de wrote: is there any other way to find out the current version? PyQt4.QtCore.PYQT_VERSION_STR PyQt4.QtCore.PYQT_VERSION thank you! -- Wolfgang