scripts/install.py

branch
eric7
changeset 8654
7244c30032d8
parent 8640
b4e75efa081d
child 8656
8fbaa183c41e
--- a/scripts/install.py	Mon Sep 27 16:50:50 2021 +0200
+++ b/scripts/install.py	Tue Sep 28 18:01:51 2021 +0200
@@ -1426,7 +1426,7 @@
     requiredVersions = {
         "pyqt6": 0x60101,
         "pyqt6-charts": 0x60101,
-        #"pyqt6-webengine": 0x60200,
+        "pyqt6-webengine": 0x60200,
         "pyqt6-qscintilla": 0x20d00,
         "sip": 0x60100,
     }
@@ -1493,11 +1493,13 @@
         if isSudo:
             print("Optional 'PyQt6-WebEngine' could not be detected.")
         else:
+            # TODO: should PyQt6-WebEngine be a must requirement?
             pipInstall(
-                "PyQt6-WebEngine>={0}".format(
+               "PyQt6-WebEngine>={0}".format(
                     versionToStr(requiredVersions["pyqt6-webengine"])),
                 "Optional 'PyQt6-WebEngine' could not be detected.\n"
-                "Error: {0}".format(msg)
+                "Error: {0}".format(msg),
+                force=False
             )
     
     try:

eric ide

mercurial