414 if not isSudo and isPipOutdated(): |
414 if not isSudo and isPipOutdated(): |
415 updatePip() |
415 updatePip() |
416 print("\n") |
416 print("\n") |
417 |
417 |
418 # perform dependency checks |
418 # perform dependency checks |
419 if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0): |
419 if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 14, 0): |
420 print("Sorry, you must have Python 3.8.0 or higher, but less 3.14.0.") |
420 print("Sorry, you must have Python 3.9.0 or higher, but less 3.14.0.") |
421 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
421 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
422 exit(5) |
422 exit(5) |
423 |
423 |
424 requiredModulesList = { |
424 requiredModulesList = { |
425 # key is pip project name |
425 # key is pip project name |
583 @type list of str |
583 @type list of str |
584 """ |
584 """ |
585 global modDir, doCleanup, doCompile, doDepChecks, distDir, scriptsDir, proxy |
585 global modDir, doCleanup, doCompile, doDepChecks, distDir, scriptsDir, proxy |
586 global sourceDir, eric7SourceDir |
586 global sourceDir, eric7SourceDir |
587 |
587 |
588 if sys.version_info < (3, 8, 0) or sys.version_info >= (4, 0, 0): |
588 if sys.version_info < (3, 9, 0) or sys.version_info >= (4, 0, 0): |
589 print("Sorry, the eric-ide serverr requires Python 3.8 or better for running.") |
589 print("Sorry, the eric-ide serverr requires Python 3.9 or better for running.") |
590 exit(5) |
590 exit(5) |
591 |
591 |
592 if os.path.dirname(argv[0]): |
592 if os.path.dirname(argv[0]): |
593 os.chdir(os.path.dirname(argv[0])) |
593 os.chdir(os.path.dirname(argv[0])) |
594 |
594 |