aboutsummaryrefslogtreecommitdiff
path: root/extra/python/patches/python3-always-pip.patch
blob: 91789c98db99f99d195b0c5d05082e01b8237c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index 526dfd0..d85dc33 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -104,7 +104,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
             additional_paths.append(os.path.join(tmpdir, wheel_name))
 
         # Construct the arguments to be passed to the pip command
-        args = ["install", "--no-index", "--find-links", tmpdir]
+        args = ["install", "-I", "--no-index", "--find-links", tmpdir]
         if root:
             args += ["--root", root]
         if upgrade: