Lines Matching +full:packages +full:- +full:dir
22 self.touch(tmpdir, "pip-1.2.3b1-py2.py3-none-any.whl")
23 self.touch(tmpdir, "setuptools-49.1.3-py3-none-any.whl")
32 packages = ensurepip._get_packages()
34 # when bundled wheel packages are used, we get _PIP_VERSION
37 # use bundled wheel packages
38 self.assertIsNotNone(packages['pip'].wheel_name)
39 self.assertIsNotNone(packages['setuptools'].wheel_name)
43 setuptools_filename = "setuptools-49.1.3-py3-none-any.whl"
44 pip_filename = "pip-20.2.2-py2.py3-none-any.whl"
50 self.touch(tmpdir, "wheel-0.34.2-py2.py3-none-any.whl")
54 packages = ensurepip._get_packages()
56 self.assertEqual(packages['setuptools'].version, '49.1.3')
57 self.assertEqual(packages['setuptools'].wheel_path,
59 self.assertEqual(packages['pip'].version, '20.2.2')
60 self.assertEqual(packages['pip'].wheel_path,
64 self.assertEqual(sorted(packages), ['pip', 'setuptools'])
94 "install", "--no-cache-dir", "--no-index", "--find-links",
108 "install", "--no-cache-dir", "--no-index", "--find-links",
109 unittest.mock.ANY, "--root", "/foo/bar/",
120 "install", "--no-cache-dir", "--no-index", "--find-links",
121 unittest.mock.ANY, "--user", "setuptools", "pip",
131 "install", "--no-cache-dir", "--no-index", "--find-links",
132 unittest.mock.ANY, "--upgrade", "setuptools", "pip",
142 "install", "--no-cache-dir", "--no-index", "--find-links",
143 unittest.mock.ANY, "-v", "setuptools", "pip",
153 "install", "--no-cache-dir", "--no-index", "--find-links",
154 unittest.mock.ANY, "-vv", "setuptools", "pip",
164 "install", "--no-cache-dir", "--no-index", "--find-links",
165 unittest.mock.ANY, "-vvv", "setuptools", "pip",
241 "uninstall", "-y", "--disable-pip-version-check", "pip",
252 "uninstall", "-y", "--disable-pip-version-check", "-v", "pip",
263 "uninstall", "-y", "--disable-pip-version-check", "-vv", "pip",
274 "uninstall", "-y", "--disable-pip-version-check", "-vvv",
304 ensurepip._main(["--version"])
314 "install", "--no-cache-dir", "--no-index", "--find-links",
335 ensurepip._uninstall._main(["--version"])
346 "uninstall", "-y", "--disable-pip-version-check", "pip",