Lines Matching full:pip
13 _PACKAGE_NAMES = ('setuptools', 'pip')
18 ("pip", _PIP_VERSION, "py3"),
45 # filename is like 'pip-21.2.4-py3-none-any.whl'
55 # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
83 # after pip has executed. Particulary, this avoids the case when pip holds onto
91 runpy.run_module("pip", run_name="__main__", alter_sys=True)
99 Returns a string specifying the bundled version of pip.
101 return _get_packages()['pip'].version
105 # We deliberately ignore all pip environment variables
106 # when invoking pip
111 # We also ignore the settings in the default pip configuration file
120 Bootstrap pip into the current Python installation (or the given root
135 Bootstrap pip into the current Python installation (or the given root
136 directory). Returns pip command status code.
147 # By default, installing pip and setuptools installs all of the
150 # pip, pipX, pipX.Y, easy_install, easy_install-X.Y
152 # pip 1.5+ allows ensurepip to request that some of those be left out
154 # omit pip, pipX and easy_install
157 # omit pip and easy_install
182 # Construct the arguments to be passed to the pip command
200 # Nothing to do if pip was never installed, or has been removed
202 import pip
206 # If the installed pip version doesn't match the available one,
209 if pip.__version__ != available_version:
211 f"({pip.__version__!r} installed, "
218 # Construct the arguments to be passed to the pip command
219 args = ["uninstall", "-y", "--disable-pip-version-check"]
232 version="pip {}".format(version()),
233 help="Show the version of pip that is bundled with this Python.",
247 help="Upgrade pip and dependencies, even if already installed.",
268 "--default-pip",
271 help=("Make a default pip install, installing the unqualified pip "