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