348 if not isSudo and isPipOutdated(): |
348 if not isSudo and isPipOutdated(): |
349 updatePip() |
349 updatePip() |
350 print("\n") |
350 print("\n") |
351 |
351 |
352 # perform dependency checks |
352 # perform dependency checks |
353 if sys.version_info < (3, 7, 0) or sys.version_info >= (3, 12, 0): |
353 if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 12, 0): |
354 print("Sorry, you must have Python 3.7.0 or higher, but less 3.12.0.") |
354 print("Sorry, you must have Python 3.8.0 or higher, but less 3.12.0.") |
355 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
355 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) |
356 exit(5) |
356 exit(5) |
357 |
357 |
358 requiredModulesList = { |
358 requiredModulesList = { |
359 # key is pip project name |
359 # key is pip project name |
398 """ |
398 """ |
399 # Parse the command line. |
399 # Parse the command line. |
400 global progName, modDir, doCleanup, doCompile, distDir |
400 global progName, modDir, doCleanup, doCompile, distDir |
401 global sourceDir, eric7SourceDir |
401 global sourceDir, eric7SourceDir |
402 |
402 |
403 if sys.version_info < (3, 7, 0) or sys.version_info >= (4, 0, 0): |
403 if sys.version_info < (3, 8, 0) or sys.version_info >= (4, 0, 0): |
404 print("Sorry, the eric debugger requires Python 3.7 or better for running.") |
404 print("Sorry, the eric debugger requires Python 3.8 or better for running.") |
405 exit(5) |
405 exit(5) |
406 |
406 |
407 progName = os.path.basename(argv[0]) |
407 progName = os.path.basename(argv[0]) |
408 |
408 |
409 if os.path.dirname(argv[0]): |
409 if os.path.dirname(argv[0]): |