870 exit(5) |
870 exit(5) |
871 elif sys.version_info < (3, 1, 0) and sys.version_info[0] == 3: |
871 elif sys.version_info < (3, 1, 0) and sys.version_info[0] == 3: |
872 print('Sorry, you must have Python 3.1.0 or higher.') |
872 print('Sorry, you must have Python 3.1.0 or higher.') |
873 exit(5) |
873 exit(5) |
874 if sys.version_info > (3, 9, 9): |
874 if sys.version_info > (3, 9, 9): |
875 print('Sorry, eric5 requires Python 3 for running.') |
875 print('Sorry, eric5 requires Python 3 or Python 2 for running.') |
876 exit(5) |
876 exit(5) |
877 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
877 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
878 |
878 |
879 try: |
879 try: |
880 import xml.etree # __IGNORE_WARNING__ |
880 import xml.etree # __IGNORE_WARNING__ |
1120 |
1120 |
1121 try: |
1121 try: |
1122 if sys.platform.startswith("win"): |
1122 if sys.platform.startswith("win"): |
1123 optlist, args = getopt.getopt(argv[1:], "chxza:b:d:f:") |
1123 optlist, args = getopt.getopt(argv[1:], "chxza:b:d:f:") |
1124 elif sys.platform == "darwin": |
1124 elif sys.platform == "darwin": |
1125 optlist, args = getopt.getopt(argv[1:], "chxza:b:d:f:i:m:p:") |
1125 optlist, args = getopt.getopt(argv[1:], "chxza:b:d:f:i:m:n:p:") |
1126 else: |
1126 else: |
1127 optlist, args = getopt.getopt(argv[1:], "chxza:b:d:f:i:") |
1127 optlist, args = getopt.getopt(argv[1:], "chxza:b:d:f:i:") |
1128 except getopt.GetoptError: |
1128 except getopt.GetoptError: |
1129 usage() |
1129 usage() |
1130 |
1130 |