scripts/install.py

branch
eric7-maintenance
changeset 9192
a763d57e23bc
parent 9111
4ac66b6c33a4
parent 9175
21e2be5f0b41
child 9264
18a7312cfdb3
--- a/scripts/install.py	Mon Jun 06 16:34:37 2022 +0200
+++ b/scripts/install.py	Fri Jul 01 11:02:32 2022 +0200
@@ -792,6 +792,10 @@
         
         # copy some data files needed at various places
         copyTree(
+            os.path.join(eric7SourceDir, "data"),
+            os.path.join(cfg['ericDir'], "data"),
+            ['*.txt'])
+        copyTree(
             os.path.join(eric7SourceDir, "EricNetwork", "data"),
             os.path.join(cfg['ericDir'], "EricNetwork", "data"),
             ['*.dat', '*.txt'])
@@ -1498,8 +1502,11 @@
         print("\n")
     
     # perform dependency checks
-    if sys.version_info < (3, 7, 0):
-        print('Sorry, you must have Python 3.7.0 or higher.')
+    if sys.version_info < (3, 7, 0) or sys.version_info >= (3, 12, 0):
+        print('Sorry, you must have Python 3.7.0 or higher, but less 3.12.0.')
+        print("Yours is {0}.".format(
+            ".".join(str(v) for v in sys.version_info[:3])
+        ))
         exit(5)
     
     try:
@@ -1621,6 +1628,9 @@
         "jedi": ("jedi", ""),
         "packaging": ("packaging", ""),
         "pipdeptree": ("pipdeptree", ""),
+        "cyclonedx-python-lib": ("cyclonedx", ""),
+        "cyclonedx-bom": ("cyclonedx_py", ""),
+        "trove-classifiers": ("trove_classifiers", ""),
     }
     if not ignorePyqt6Tools:
         optionalModulesList["qt6-applications"] = ("qt6_applications", "")

eric ide

mercurial