--- a/scripts/install.py Thu May 27 20:31:29 2021 +0200 +++ b/scripts/install.py Fri May 28 17:50:00 2021 +0200 @@ -1617,10 +1617,13 @@ else: PlatformBlackLists = PlatformsBlackLists["mac"] + print("\nVersion Information") + print("-------------------") + # check version of Qt qtMajor = int(qVersion().split('.')[0]) qtMinor = int(qVersion().split('.')[1]) - print("Qt Version: {0}".format(qVersion().strip())) + print("Qt6: {0}".format(qVersion().strip())) if qtMajor == 6 and qtMinor < 1: print('Sorry, you must have Qt version 6.1.0 or better.') exit(2) @@ -1632,7 +1635,7 @@ except ImportError: import sip sipVersion = sip.SIP_VERSION_STR - print("sip Version:", sipVersion.strip()) + print("sip:", sipVersion.strip()) # always assume, that snapshots or dev versions are new enough if "snapshot" not in sipVersion and "dev" not in sipVersion: while sipVersion.count('.') < 2: @@ -1661,7 +1664,7 @@ # check version of PyQt from PyQt6.QtCore import PYQT_VERSION_STR pyqtVersion = PYQT_VERSION_STR - print("PyQt Version:", pyqtVersion.strip()) + print("PyQt6:", pyqtVersion.strip()) # always assume, that snapshots or dev versions are new enough if "snapshot" not in pyqtVersion and "dev" not in pyqtVersion: while pyqtVersion.count('.') < 2: @@ -1685,7 +1688,7 @@ # check version of QScintilla from PyQt6.Qsci import QSCINTILLA_VERSION_STR scintillaVersion = QSCINTILLA_VERSION_STR - print("PyQt6-QScintilla Version:", QSCINTILLA_VERSION_STR.strip()) + print("PyQt6-QScintilla:", QSCINTILLA_VERSION_STR.strip()) # always assume, that snapshots or dev versions are new enough if "snapshot" not in scintillaVersion and "dev" not in scintillaVersion: while scintillaVersion.count('.') < 2: @@ -1723,7 +1726,7 @@ with contextlib.suppress(ImportError, AttributeError): from PyQt6 import QtWebEngine - print("PyQt6-WebEngine.", QtWebEngine.PYQT_WEBENGINE_VERSION_STR) + print("PyQt6-WebEngine:", QtWebEngine.PYQT_WEBENGINE_VERSION_STR) print("All dependencies ok.") print()