scripts/install.py

branch
maintenance
changeset 8400
b3eefd7e58d1
parent 8273
698ae46f40a4
parent 8310
75cb87580e5e
child 8576
fe1957c69854
--- a/scripts/install.py	Sat May 01 14:27:38 2021 +0200
+++ b/scripts/install.py	Thu Jun 03 11:39:23 2021 +0200
@@ -1360,7 +1360,9 @@
         answer = input()                            # secok
     if answer in ("", "Y", "y"):
         exitCode = subprocess.call(                 # secok
-            [sys.executable, "-m", "pip", "install", packageName])
+            [sys.executable, "-m", "pip", "install", "--prefer-binary",
+             "--upgrade", packageName]
+        )
         ok = (exitCode == 0)
     
     return ok
@@ -1542,6 +1544,8 @@
         "EditorConfig": ("editorconfig", ""),
         "Send2Trash": ("send2trash", ""),
         "Pygments": ("pygments", ""),
+        "mercurial": ("mercurial", ""),
+        "pyenchant": ("enchant", ""),
     }
     # dict with tuples of package name and install constraint
     if sys.platform != "darwin" and not ignorePyqt5Tools:

eric ide

mercurial