]> git.armaanb.net Git - asd-repo.git/blob - core/python/patches/python3-always-pip.patch
Restructure repository
[asd-repo.git] / core / python / patches / python3-always-pip.patch
1 diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
2 index f3152a5..52f6312 100644
3 --- a/Lib/ensurepip/__init__.py
4 +++ b/Lib/ensurepip/__init__.py
5 @@ -116,7 +116,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-cache-dir", "--no-index", "--find-links", tmpdir]
10 +        args = ["install", "-I", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
11          if root:
12              args += ["--root", root]
13          if upgrade: