Skip to content
Marcus Ottosson edited this page Feb 5, 2015 · 1 revision

Versioning have been added to this distribution.

>>> import PyQt5
>>> PyQt5.pyqt_version  # Version of PyQt source
5.3.2
>>> PyQt5.qt_version  # Version used to compile PyQt
5.3.1
>>> PyQt5.version  # Version of this distribution
1.0.9

Implementation

These commands have been added to __init__.py in order to include information about versions used in the compilation and distribution of this package.

version_info = (0, 1, 9)  # Version of this release
version = "%s.%s.%s" % version_info
__version__ = version

pyqt_version_info = (5, 3, 2)
pyqt_version = "%s.%s.%s" % pyqt_version_info
__pyqt_version__ = pyqt_version

qt_version_info = (5, 3, 1)
qt_version = "%s.%s.%s" % qt_version_info
__qt_version__ = qt_version

Updating the distribution

Whenever an update is made to this repository and it's respective PyPI package, these version number must be incremented, following the Semantic Versioning 2.0 scheme

Welcome to the wiki for PyQt5 using Python 2.7. For Python 3.4, head here

Table of contents

Developer Resources

Compilation Instructions

Clone this wiki locally