scripts/install.py

branch
eric7
changeset 8918
2167e507b277
parent 8881
54e42bc2437a
child 8966
c6f67dbc6ee7
equal deleted inserted replaced
8917:18901f50f971 8918:2167e507b277
1485 if not isSudo and isPipOutdated(): 1485 if not isSudo and isPipOutdated():
1486 updatePip() 1486 updatePip()
1487 print("\n") 1487 print("\n")
1488 1488
1489 # perform dependency checks 1489 # perform dependency checks
1490 if sys.version_info < (3, 6, 0): 1490 if sys.version_info < (3, 7, 0):
1491 print('Sorry, you must have Python 3.6.0 or higher.') 1491 print('Sorry, you must have Python 3.7.0 or higher.')
1492 exit(5) 1492 exit(5)
1493 1493
1494 try: 1494 try:
1495 import xml.etree # __IGNORE_WARNING__ 1495 import xml.etree # __IGNORE_WARNING__
1496 except ImportError: 1496 except ImportError:
1930 global installApis, doCleanDesktopLinks, yes2All 1930 global installApis, doCleanDesktopLinks, yes2All
1931 global createInstallInfoFile, installCwd 1931 global createInstallInfoFile, installCwd
1932 global ignorePyqt6Tools 1932 global ignorePyqt6Tools
1933 global verbose 1933 global verbose
1934 1934
1935 if sys.version_info < (3, 6, 0) or sys.version_info > (3, 99, 99): 1935 if sys.version_info < (3, 7, 0) or sys.version_info > (3, 99, 99):
1936 print('Sorry, eric requires at least Python 3.6 for running.') 1936 print('Sorry, eric requires at least Python 3.7 for running.')
1937 exit(5) 1937 exit(5)
1938 1938
1939 progName = os.path.basename(argv[0]) 1939 progName = os.path.basename(argv[0])
1940 1940
1941 installCwd = os.getcwd() 1941 installCwd = os.getcwd()

eric ide

mercurial