Small change to the install script to show Python version together with Qt versions. eric7

Mon, 01 Nov 2021 17:02:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 01 Nov 2021 17:02:40 +0100
branch
eric7
changeset 8753
6888dacf86b6
parent 8752
3c1ea4dfb691
child 8754
e7d63a5a2ae9

Small change to the install script to show Python version together with Qt versions.

scripts/install.py file | annotate | diff | comparison | revisions
diff -r 3c1ea4dfb691 -r 6888dacf86b6 scripts/install.py
--- a/scripts/install.py	Mon Nov 01 16:58:52 2021 +0100
+++ b/scripts/install.py	Mon Nov 01 17:02:40 2021 +0100
@@ -1475,7 +1475,6 @@
         print("\n")
     
     # perform dependency checks
-    print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
     if sys.version_info < (3, 6, 0):
         print('Sorry, you must have Python 3.6.0 or higher.')
         exit(5)
@@ -1646,6 +1645,8 @@
     print("\nVersion Information")
     print("-------------------")
     
+    print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
+    
     # check version of Qt
     # ===================
     qtMajor = int(qVersion().split('.')[0])

eric ide

mercurial