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 |