[PyQt] determining pyqt version

Wolfgang Rohdewald wolfgang at rohdewald.de
Sat Jul 18 10:59:23 BST 2009


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 there any other way to find out the current version?

-- 
Wolfgang


More information about the PyQt mailing list