scripts/install.py

changeset 8288
809d5d5ac2ba
parent 8261
0c2aa0ad149f
child 8310
75cb87580e5e
diff -r 30eb7bc13d63 -r 809d5d5ac2ba scripts/install.py
--- a/scripts/install.py	Mon May 03 19:58:28 2021 +0200
+++ b/scripts/install.py	Tue May 04 19:30:25 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,7 @@
         "EditorConfig": ("editorconfig", ""),
         "Send2Trash": ("send2trash", ""),
         "Pygments": ("pygments", ""),
+        "mercurial": ("mercurial", ""),
     }
     # dict with tuples of package name and install constraint
     if sys.platform != "darwin" and not ignorePyqt5Tools:

eric ide

mercurial