Home | History | Annotate | Download | only in ensurepip

Lines Matching refs:pip

21     ("pip", _PIP_VERSION),
31 import pip._internal
32 return pip._internal.main(args)
37 Returns a string specifying the bundled version of pip.
43 # We deliberately ignore all pip environment variables
44 # when invoking pip
49 # We also ignore the settings in the default pip configuration file
58 Bootstrap pip into the current Python installation (or the given root
73 Bootstrap pip into the current Python installation (or the given root
74 directory). Returns pip command status code.
83 # By default, installing pip and setuptools installs all of the
86 # pip, pipX, pipX.Y, easy_install, easy_install-X.Y
88 # pip 1.5+ allows ensurepip to request that some of those be left out
90 # omit pip, pipX and easy_install
93 # omit pip and easy_install
112 # Construct the arguments to be passed to the pip command
132 # Nothing to do if pip was never installed, or has been removed
134 import pip
138 # If the pip version doesn't match the bundled one, leave it alone
139 if pip.__version__ != _PIP_VERSION:
142 print(msg.format(pip.__version__, _PIP_VERSION), file=sys.stderr)
147 # Construct the arguments to be passed to the pip command
148 args = ["uninstall", "-y", "--disable-pip-version-check"]
161 version="pip {}".format(version()),
162 help="Show the version of pip that is bundled with this Python.",
176 help="Upgrade pip and dependencies, even if already installed.",
197 "--default-pip",
204 "--no-default-pip",