Home
last modified time | relevance | path

Searched refs:site_dir (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/test_importlib/
Dtest_main.py78 def pkg_with_dashes(site_dir): argument
83 metadata_dir = site_dir / 'my_pkg.dist-info'
93 pkg_name = self.pkg_with_dashes(self.site_dir)
97 def pkg_with_mixed_case(site_dir): argument
102 metadata_dir = site_dir / 'CherryPy.dist-info'
111 pkg_name = self.pkg_with_mixed_case(self.site_dir)
119 def pkg_with_non_ascii_description(site_dir): argument
124 metadata_dir = site_dir / 'portend.dist-info'
132 def pkg_with_non_ascii_description_egg_info(site_dir): argument
137 metadata_dir = site_dir / 'portend.dist-info'
[all …]
Dfixtures.py58 self.site_dir = self.fixtures.enter_context(tempdir())
73 self.fixtures.enter_context(self.add_sys_path(self.site_dir))
110 build_files(DistInfoPkg.files, self.site_dir)
116 shutil.rmtree(self.site_dir / "distinfo_pkg-1.0.0.dist-info")
120 build_files(files, self.site_dir)
135 build_files(DistInfoPkgWithDot.files, self.site_dir)
156 build_files(DistInfoPkgWithDotLegacy.files, self.site_dir)
162 build_files(DistInfoPkg.files, self.site_dir)
202 build_files(EggInfoPkg.files, prefix=self.site_dir)
223 build_files(EggInfoFile.files, prefix=self.site_dir)
Dtest_reader.py93 site_dir = str(pathlib.Path(__file__).parent) variable in NamespaceReaderTest
97 sys.path.append(cls.site_dir)
101 sys.path.remove(cls.site_dir)
Dtest_resource.py218 site_dir = str(pathlib.Path(__file__).parent) variable in ResourceFromNamespaceTest01
222 sys.path.append(cls.site_dir)
226 sys.path.remove(cls.site_dir)
Dtest_metadata_api.py299 dists = Distribution.discover(path=[str(self.site_dir)])
304 dist_info_path = self.site_dir / 'distinfo_pkg-1.0.0.dist-info'
309 dist_info_path = self.site_dir / 'distinfo_pkg-1.0.0.dist-info'