scripts/install.py

branch
eric7
changeset 10334
24300d16a154
parent 10331
c1a2ff7e3575
child 10341
3fdffd9cc21d
diff -r 4aa8d3b69832 -r 24300d16a154 scripts/install.py
--- a/scripts/install.py	Wed Nov 22 19:42:41 2023 +0100
+++ b/scripts/install.py	Thu Nov 23 16:23:37 2023 +0100
@@ -75,7 +75,7 @@
     "QScintilla2": [],
 }
 PlatformsBlackLists = {
-    "windows": {
+    "freebsd": {
         "sip": [],
         "PyQt6": [],
         "QScintilla2": [],
@@ -90,6 +90,11 @@
         "PyQt6": [],
         "QScintilla2": [],
     },
+    "windows": {
+        "sip": [],
+        "PyQt6": [],
+        "QScintilla2": [],
+    },
 }
 
 
@@ -431,7 +436,7 @@
     global pyModDir, progLanguages
 
     # Remove the menu entry for Linux systems
-    if sys.platform.startswith("linux"):
+    if sys.platform.startswith(("linux", "freebsd")):
         cleanUpLinuxSpecifics()
     # Remove the Desktop and Start Menu entries for Windows systems
     elif sys.platform.startswith(("win", "cygwin")):
@@ -885,7 +890,7 @@
             print("Use the API files provided by the 'API Files' plug-in.")
 
     # Create menu entry for Linux systems
-    if sys.platform.startswith("linux"):
+    if sys.platform.startswith(("linux", "freebsd")):
         createLinuxSpecifics()
 
     # Create Desktop and Start Menu entries for Windows systems
@@ -1714,6 +1719,8 @@
         PlatformBlackLists = PlatformsBlackLists["windows"]
     elif sys.platform.startswith("linux"):
         PlatformBlackLists = PlatformsBlackLists["linux"]
+    elif sys.platform.startswith("freebsd"):
+        PlatformBlackLists = PlatformsBlackLists["freebsd"]
     else:
         PlatformBlackLists = PlatformsBlackLists["mac"]
 

eric ide

mercurial