Details
-
Bug
-
Resolution: Done
-
P5: Not important
-
None
-
5.6
-
None
Description
The value of the pyside2uic.__version__ attribute is currently always the empty string, but should probably be a non-empty version specifier resembling '2.0.0~alpha0' (as it is for the comparable PySide2.__version__ attribute).
Fortunately, the underlying cause appears to be a trivial typo. Line 25 of the input pyside2uic/__init__.py.in file mistakenly reads:
__version__ = "@pyside_tools_VERSION@"
...but should instead read:
__version__ = "@pyside2_tools_VERSION@"
Alternately, you could also rename the pyside2_tools_VERSION variable declared by the top-level CMakeLists.txt file to pyside_tools_VERSION.
I leave this difficult decision in your capable hands, hard-working PySide2 team.