install.py

branch
5_3_x
changeset 2691
0499c802883f
parent 2638
11b930473425
child 2764
1d85539ac41a
equal deleted inserted replaced
2688:78c21583101d 2691:0499c802883f
1017 1017
1018 # Parse the command line. 1018 # Parse the command line.
1019 global progName, modDir, doCleanup, doCompile, distDir, cfg, apisDir 1019 global progName, modDir, doCleanup, doCompile, distDir, cfg, apisDir
1020 global sourceDir, configName, macAppBundleName, macPythonExe 1020 global sourceDir, configName, macAppBundleName, macPythonExe
1021 1021
1022 if sys.version_info > (3, 9, 9) or sys.version_info < (3, 0, 0):
1023 print('Sorry, eric5 requires Python 3 for running.')
1024 exit(5)
1025
1022 progName = os.path.basename(argv[0]) 1026 progName = os.path.basename(argv[0])
1023 1027
1024 if os.path.dirname(argv[0]): 1028 if os.path.dirname(argv[0]):
1025 os.chdir(os.path.dirname(argv[0])) 1029 os.chdir(os.path.dirname(argv[0]))
1026 1030

eric ide

mercurial