Lines Matching defs:version
11 __all__ = ["version", "bootstrap"]
23 ('version', 'wheel_name', 'wheel_path'))
40 # of the same package, but don't attempt to implement correct version
55 version = filename.removeprefix(prefix).partition('-')[0]
57 packages[name] = _Package(version, None, wheel_path)
67 for name, version, py_tag in _PROJECTS:
68 wheel_name = f"{name}-{version}-{py_tag}-none-any.whl"
69 packages[name] = _Package(version, wheel_name, None)
106 def version():
108 Returns a string specifying the bundled version of pip.
110 return _get_packages()['pip'].version
157 # following scripts (X.Y == running Python version):
215 # If the installed pip version doesn't match the available one,
217 available_version = version()
219 print(f"ensurepip will only uninstall a matching version "
228 args = ["uninstall", "-y", "--disable-pip-version-check"]
239 "--version",
240 action="version",
241 version="pip {}".format(version()),
242 help="Show the version of pip that is bundled with this Python.",