mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546)
Upgrade ensurepip to bundle pip 10.0.1
This commit is contained in:
parent
53f67d401d
commit
0399cf9b5e
4 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,7 @@ __all__ = ["version", "bootstrap"]
|
|||
|
||||
_SETUPTOOLS_VERSION = "39.0.1"
|
||||
|
||||
_PIP_VERSION = "9.0.3"
|
||||
_PIP_VERSION = "10.0.1"
|
||||
|
||||
_PROJECTS = [
|
||||
("setuptools", _SETUPTOOLS_VERSION),
|
||||
|
@ -24,8 +24,8 @@ def _run_pip(args, additional_paths=None):
|
|||
sys.path = additional_paths + sys.path
|
||||
|
||||
# Install the bundled software
|
||||
import pip
|
||||
return pip.main(args)
|
||||
import pip._internal
|
||||
return pip._internal.main(args)
|
||||
|
||||
|
||||
def version():
|
||||
|
|
BIN
Lib/ensurepip/_bundled/pip-10.0.1-py2.py3-none-any.whl
Normal file
BIN
Lib/ensurepip/_bundled/pip-10.0.1-py2.py3-none-any.whl
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue