install.py

changeset 2690
8ca13f15e1f2
parent 2634
8bd79dfb48a5
child 2736
86cd4d14b58e
equal deleted inserted replaced
2689:dc0b8301523d 2690:8ca13f15e1f2
1009 1009
1010 # Parse the command line. 1010 # Parse the command line.
1011 global progName, modDir, doCleanup, doCompile, distDir, cfg, apisDir 1011 global progName, modDir, doCleanup, doCompile, distDir, cfg, apisDir
1012 global sourceDir, configName, macAppBundleName, macPythonExe 1012 global sourceDir, configName, macAppBundleName, macPythonExe
1013 1013
1014 if sys.version_info > (3, 9, 9) or sys.version_info < (3, 0, 0):
1015 print('Sorry, eric5 requires Python 3 for running.')
1016 exit(5)
1017
1014 progName = os.path.basename(argv[0]) 1018 progName = os.path.basename(argv[0])
1015 1019
1016 if os.path.dirname(argv[0]): 1020 if os.path.dirname(argv[0]):
1017 os.chdir(os.path.dirname(argv[0])) 1021 os.chdir(os.path.dirname(argv[0]))
1018 1022

eric ide

mercurial