349 if not isSudo and isPipOutdated(): |
349 if not isSudo and isPipOutdated(): |
350 updatePip() |
350 updatePip() |
351 print("\n") |
351 print("\n") |
352 |
352 |
353 # perform dependency checks |
353 # perform dependency checks |
354 if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0): |
354 if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 14, 0): |
355 print("Sorry, you must have Python 3.8.0 or higher, but less 3.13.0.") |
355 print("Sorry, you must have Python 3.9.0 or higher, but less 3.14.0.") |
356 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
356 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
357 exit(5) |
357 exit(5) |
358 |
358 |
359 requiredModulesList = { |
359 requiredModulesList = { |
360 # key is pip project name |
360 # key is pip project name |
444 @type list of str |
444 @type list of str |
445 """ |
445 """ |
446 global modDir, doCleanup, doCompile, distDir, proxy |
446 global modDir, doCleanup, doCompile, distDir, proxy |
447 global sourceDir, eric7SourceDir |
447 global sourceDir, eric7SourceDir |
448 |
448 |
449 if sys.version_info < (3, 8, 0) or sys.version_info >= (4, 0, 0): |
449 if sys.version_info < (3, 9, 0) or sys.version_info >= (4, 0, 0): |
450 print("Sorry, the eric debugger requires Python 3.8 or better for running.") |
450 print("Sorry, the eric debugger requires Python 3.9 or better for running.") |
451 exit(5) |
451 exit(5) |
452 |
452 |
453 if os.path.dirname(argv[0]): |
453 if os.path.dirname(argv[0]): |
454 os.chdir(os.path.dirname(argv[0])) |
454 os.chdir(os.path.dirname(argv[0])) |
455 |
455 |