aboutsummaryrefslogtreecommitdiffstats
path: root/examples/installer_test/hello.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/installer_test/hello.py')
-rw-r--r--examples/installer_test/hello.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py
index cccfd31d0..3921b5d51 100644
--- a/examples/installer_test/hello.py
+++ b/examples/installer_test/hello.py
@@ -31,7 +31,7 @@ class MyWidget(QWidget):
super().__init__()
self.hello = ["Hallo Welt", "你好,世界", "Hei maailma",
- "Hola Mundo", "Привет мир"]
+ "Hola Mundo", "Привет мир"]
self.button = QPushButton("Click me!")
self.text = QLabel(f"Hello World auto_quit={auto_quit}")
@@ -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()