1429 updatePip() |
1429 updatePip() |
1430 print("\n") |
1430 print("\n") |
1431 |
1431 |
1432 # perform dependency checks |
1432 # perform dependency checks |
1433 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
1433 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
1434 if sys.version_info < (3, 5, 0): |
1434 if sys.version_info < (3, 6, 0): |
1435 print('Sorry, you must have Python 3.5.0 or higher.') |
1435 print('Sorry, you must have Python 3.6.0 or higher.') |
1436 exit(5) |
1436 exit(5) |
1437 |
1437 |
1438 try: |
1438 try: |
1439 import xml.etree # __IGNORE_WARNING__ |
1439 import xml.etree # __IGNORE_WARNING__ |
1440 except ImportError: |
1440 except ImportError: |
1872 global sourceDir, eric6SourceDir, configName |
1872 global sourceDir, eric6SourceDir, configName |
1873 global macAppBundlePath, macAppBundleName, macPythonExe |
1873 global macAppBundlePath, macAppBundleName, macPythonExe |
1874 global installApis, doCleanDesktopLinks, yes2All, installCwd |
1874 global installApis, doCleanDesktopLinks, yes2All, installCwd |
1875 global ignorePyqt5Tools |
1875 global ignorePyqt5Tools |
1876 |
1876 |
1877 if sys.version_info < (3, 5, 0) or sys.version_info > (3, 99, 99): |
1877 if sys.version_info < (3, 6, 0) or sys.version_info > (3, 99, 99): |
1878 print('Sorry, eric6 requires at least Python 3.5 for running.') |
1878 print('Sorry, eric6 requires at least Python 3.6 for running.') |
1879 exit(5) |
1879 exit(5) |
1880 |
1880 |
1881 progName = os.path.basename(argv[0]) |
1881 progName = os.path.basename(argv[0]) |
1882 |
1882 |
1883 installCwd = os.getcwd() |
1883 installCwd = os.getcwd() |