Lines Matching +full:packages +full:- +full:dir
20 # Packages bundled in ensurepip._bundled have wheel_name set.
21 # Packages from WHEEL_PKG_DIR have wheel_path set.
25 # Directory of system wheel packages. Some Linux distribution packaging
27 # installs wheel packages in the /usr/share/python-wheels/ directory and don't
33 packages = {}
44 # filename is like 'pip-21.2.4-py3-none-any.whl'
48 prefix = name + '-'
54 # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
55 version = filename.removeprefix(prefix).partition('-')[0]
57 packages[name] = _Package(version, None, wheel_path)
58 return packages
66 packages = {}
68 wheel_name = f"{name}-{version}-{py_tag}-none-any.whl"
69 packages[name] = _Package(version, wheel_name, None)
72 # only used the wheel package directory if all packages are found there
74 packages = dir_packages
75 _PACKAGES = packages
76 return packages
95 '-W',
97 '-c',
102 cmd.insert(1, '-I')
159 # pip, pipX, pipX.Y, easy_install, easy_install-X.Y
192 args = ["install", "--no-cache-dir", "--no-index", "--find-links", tmpdir]
194 args += ["--root", root]
196 args += ["--upgrade"]
198 args += ["--user"]
200 args += ["-" + "v" * verbosity]
228 args = ["uninstall", "-y", "--disable-pip-version-check"]
230 args += ["-" + "v" * verbosity]
237 parser = argparse.ArgumentParser(prog="python -m ensurepip")
239 "--version",
245 "-v", "--verbose",
253 "-U", "--upgrade",
259 "--user",
265 "--root",
270 "--altinstall",
274 "scripts (Default: pipX, pipX.Y, easy_install-X.Y)."),
277 "--default-pip",