diff options
Diffstat (limited to 'examples/installer_test')
-rw-r--r-- | examples/installer_test/hello.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py index cccfd31d0..a9819477b 100644 --- a/examples/installer_test/hello.py +++ b/examples/installer_test/hello.py @@ -53,7 +53,10 @@ class MyWidget(QWidget): if __name__ == "__main__": print("Start of hello.py ", time.ctime()) print(" sys.version = ", sys.version.splitlines()[0]) - print(" platform.platform() = ", platform.platform()) + # Nuitka and hence pyside6-deploy fails on Python versions <= 3.9 + # when this module is used + if sys.version_info.minor > 9: + print(" platform.platform() = ", platform.platform()) app = QApplication() |