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 |