Home | History | Annotate | Download | only in ensurepip

Lines Matching refs:pip

17     ("pip", _PIP_VERSION),
27 import pip._internal
28 return pip._internal.main(args)
33 Returns a string specifying the bundled version of pip.
38 # We deliberately ignore all pip environment variables
39 # when invoking pip
44 # We also ignore the settings in the default pip configuration file
53 Bootstrap pip into the current Python installation (or the given root
68 Bootstrap pip into the current Python installation (or the given root
69 directory). Returns pip command status code.
78 # By default, installing pip and setuptools installs all of the
81 # pip, pipX, pipX.Y, easy_install, easy_install-X.Y
83 # pip 1.5+ allows ensurepip to request that some of those be left out
85 # omit pip, pipX and easy_install
88 # omit pip and easy_install
106 # Construct the arguments to be passed to the pip command
124 # Nothing to do if pip was never installed, or has been removed
126 import pip
130 # If the pip version doesn't match the bundled one, leave it alone
131 if pip.__version__ != _PIP_VERSION:
134 print(msg.format(pip.__version__, _PIP_VERSION), file=sys.stderr)
139 # Construct the arguments to be passed to the pip command
140 args = ["uninstall", "-y", "--disable-pip-version-check"]
153 version="pip {}".format(version()),
154 help="Show the version of pip that is bundled with this Python.",
168 help="Upgrade pip and dependencies, even if already installed.",
189 "--default-pip",
192 help=("Make a default pip install, installing the unqualified pip "