Lines Matching refs:pip

12 _PACKAGE_NAMES = ('setuptools', 'pip')
17 ("pip", _PIP_VERSION, "py3"),
44 # filename is like 'pip-21.2.4-py3-none-any.whl'
54 # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
82 # after pip has executed. Particularly, this avoids the case when pip holds onto
90 runpy.run_module("pip", run_name="__main__", alter_sys=True)
108 Returns a string specifying the bundled version of pip.
110 return _get_packages()['pip'].version
114 # We deliberately ignore all pip environment variables
115 # when invoking pip
120 # We also ignore the settings in the default pip configuration file
129 Bootstrap pip into the current Python installation (or the given root
144 Bootstrap pip into the current Python installation (or the given root
145 directory). Returns pip command status code.
156 # By default, installing pip and setuptools installs all of the
159 # pip, pipX, pipX.Y, easy_install, easy_install-X.Y
161 # pip 1.5+ allows ensurepip to request that some of those be left out
163 # omit pip, pipX and easy_install
166 # omit pip and easy_install
191 # Construct the arguments to be passed to the pip command
209 # Nothing to do if pip was never installed, or has been removed
211 import pip
215 # If the installed pip version doesn't match the available one,
218 if pip.__version__ != available_version:
220 f"({pip.__version__!r} installed, "
227 # Construct the arguments to be passed to the pip command
228 args = ["uninstall", "-y", "--disable-pip-version-check"]
241 version="pip {}".format(version()),
242 help="Show the version of pip that is bundled with this Python.",
256 help="Upgrade pip and dependencies, even if already installed.",
277 "--default-pip",
280 help=("Make a default pip install, installing the unqualified pip "