scripts/install.py

branch
eric7
changeset 11022
95c889f18a21
parent 10998
6d7bddfde5fe
child 11043
8cfceca767e1
equal deleted inserted replaced
11021:02e3af8a6a83 11022:95c889f18a21
1601 if not isSudo and isPipOutdated(): 1601 if not isSudo and isPipOutdated():
1602 updatePip() 1602 updatePip()
1603 print("\n") 1603 print("\n")
1604 1604
1605 # perform dependency checks 1605 # perform dependency checks
1606 if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0): 1606 if sys.version_info < (3, 9, 0) or sys.version_info >= (3, 14, 0):
1607 print("Sorry, you must have Python 3.8.0 or higher, but less 3.14.0.") 1607 print("Sorry, you must have Python 3.9.0 or higher, but less 3.14.0.")
1608 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3]))) 1608 print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
1609 exit(5) 1609 exit(5)
1610 1610
1611 if ( 1611 if (
1612 importlib.util.find_spec("xml") is None 1612 importlib.util.find_spec("xml") is None
2241 global installApis, doCleanDesktopLinks, yes2All, proxy 2241 global installApis, doCleanDesktopLinks, yes2All, proxy
2242 global createInstallInfoFile, installCwd 2242 global createInstallInfoFile, installCwd
2243 global withPyqt6Tools 2243 global withPyqt6Tools
2244 global verbose 2244 global verbose
2245 2245
2246 if sys.version_info < (3, 8, 0) or sys.version_info > (3, 99, 99): 2246 if sys.version_info < (3, 9, 0) or sys.version_info > (3, 99, 99):
2247 print("Sorry, eric requires at least Python 3.8 for running.") 2247 print("Sorry, eric requires at least Python 3.9 for running.")
2248 exit(5) 2248 exit(5)
2249 2249
2250 installCwd = os.getcwd() 2250 installCwd = os.getcwd()
2251 2251
2252 if os.path.dirname(argv[0]): 2252 if os.path.dirname(argv[0]):

eric ide

mercurial