install.py

changeset 2690
8ca13f15e1f2
parent 2634
8bd79dfb48a5
child 2736
86cd4d14b58e
--- a/install.py	Sat Jun 01 11:21:08 2013 +0200
+++ b/install.py	Sat Jun 01 11:31:48 2013 +0200
@@ -1011,6 +1011,10 @@
     global progName, modDir, doCleanup, doCompile, distDir, cfg, apisDir
     global sourceDir, configName, macAppBundleName, macPythonExe
     
+    if sys.version_info > (3, 9, 9) or sys.version_info < (3, 0, 0):
+        print('Sorry, eric5 requires Python 3 for running.')
+        exit(5)
+    
     progName = os.path.basename(argv[0])
     
     if os.path.dirname(argv[0]):

eric ide

mercurial