Home
last modified time | relevance | path

Searched refs:pkg_dir (Results 1 – 25 of 26) sorted by relevance

12

/third_party/python/Lib/distutils/tests/
Dtest_bdist_rpm.py56 pkg_dir = os.path.join(tmp_dir, 'foo')
57 os.mkdir(pkg_dir)
58 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
59 self.write_file((pkg_dir, 'foo.py'), '#')
60 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
61 self.write_file((pkg_dir, 'README'), '')
68 os.chdir(pkg_dir)
79 dist_created = os.listdir(os.path.join(pkg_dir, 'dist'))
100 pkg_dir = os.path.join(tmp_dir, 'foo')
101 os.mkdir(pkg_dir)
[all …]
Dtest_bdist_dumb.py50 pkg_dir = os.path.join(tmp_dir, 'foo')
51 os.mkdir(pkg_dir)
52 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
53 self.write_file((pkg_dir, 'foo.py'), '#')
54 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
55 self.write_file((pkg_dir, 'README'), '')
62 os.chdir(pkg_dir)
75 dist_created = os.listdir(os.path.join(pkg_dir, 'dist'))
Dtest_install_data.py15 pkg_dir, dist = self.create_dist()
17 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')
22 one = os.path.join(pkg_dir, 'one')
24 inst2 = os.path.join(pkg_dir, 'inst2')
25 two = os.path.join(pkg_dir, 'two')
55 cmd.root = os.path.join(pkg_dir, 'root')
57 inst4 = os.path.join(pkg_dir, 'inst4')
Dtest_build_clib.py27 pkg_dir, dist = self.create_dist()
57 pkg_dir, dist = self.create_dist()
80 pkg_dir, dist = self.create_dist()
100 pkg_dir, dist = self.create_dist()
116 pkg_dir, dist = self.create_dist()
119 foo_c = os.path.join(pkg_dir, 'foo.c')
123 build_temp = os.path.join(pkg_dir, 'build')
Dtest_build_py.py132 pkg_dir = os.path.join(sources, "pkg")
134 os.mkdir(pkg_dir)
135 open(os.path.join(pkg_dir, "__init__.py"), "w").close()
137 docdir = os.path.join(pkg_dir, "doc")
Dtest_config_cmd.py49 pkg_dir, dist = self.create_dist()
66 pkg_dir, dist = self.create_dist()
89 pkg_dir, dist = self.create_dist()
Dtest_install_headers.py23 pkg_dir, dist = self.create_dist(headers=headers)
28 cmd.install_dir = os.path.join(pkg_dir, 'inst')
Dtest_clean.py14 pkg_dir, dist = self.create_dist()
18 dirs = [(d, os.path.join(pkg_dir, d))
Dsupport.py103 pkg_dir = os.path.join(tmp_dir, pkg_name)
104 os.mkdir(pkg_dir)
107 return pkg_dir, dist
Dtest_upload.py125 pkg_dir, dist = self.create_dist(dist_files=dist_files)
175 pkg_dir, dist = self.create_dist(
200 pkg_dir, dist = self.create_dist(dist_files=dist_files)
Dtest_build.py16 pkg_dir, dist = self.create_dist()
/third_party/python/Lib/test/
Dtest_cmd_line_script.py316 pkg_dir = os.path.join(script_dir, 'test_pkg')
317 make_pkg(pkg_dir)
318 script_name = _make_test_script(pkg_dir, 'script')
341 pkg_dir = os.path.join(script_dir, 'test_pkg')
342 make_pkg(pkg_dir)
343 script_name = _make_test_script(pkg_dir, '__main__')
351 pkg_dir = os.path.join(script_dir, 'test_pkg')
352 make_pkg(pkg_dir)
353 script_name = _make_test_script(pkg_dir, '__main__')
364 pkg_dir = os.path.join(script_dir, 'test_pkg')
[all …]
Dtest_runpy.py215 def _add_pkg_dir(self, pkg_dir, namespace=False): argument
216 os.mkdir(pkg_dir)
219 pkg_fname = os.path.join(pkg_dir, "__init__.py")
231 pkg_dir = sub_dir = os.path.realpath(tempfile.mkdtemp())
233 sys.path.insert(0, pkg_dir)
250 return pkg_dir, mod_fname, mod_name, mod_spec
291 pkg_dir, mod_fname, mod_name, mod_spec = (
326 self._del_pkg(pkg_dir)
331 pkg_dir, mod_fname, mod_name, mod_spec = (
367 self._del_pkg(pkg_dir)
[all …]
Dtest_multiprocessing_main_handling.py241 pkg_dir = os.path.join(script_dir, 'test_pkg')
242 make_pkg(pkg_dir)
243 script_name = _make_test_script(pkg_dir, 'check_sibling')
263 pkg_dir = os.path.join(script_dir, 'test_pkg')
264 make_pkg(pkg_dir)
265 script_name = _make_test_script(pkg_dir, '__main__',
273 pkg_dir = os.path.join(script_dir, 'test_pkg')
274 make_pkg(pkg_dir)
275 script_name = _make_test_script(pkg_dir, '__main__',
Dtest_doctest.py732 pkg_dir = os.path.join(parent_dir, pkg_name)
733 os.mkdir(pkg_dir)
/third_party/skia/build/fuchsia/
Dgen_package32 assert os.path.exists(args.pkg_dir)
34 pkg_dir = args.pkg_dir
42 pkg_dir,
Dsdk.gni288 pkg_dir = target_gen_dir
293 pkg_id_path = "${pkg_dir}/meta/package"
295 pkg_archive = "${pkg_dir}/${pkg_name}-${pkg_version}.far"
313 rebase_path(pkg_dir),
/third_party/skia/build/fuchsia/skqp/
DBUILD.gn9 pkg_dir = target_gen_dir
20 pkg_manifest = "${pkg_dir}/${target_name}.manifest"
42 base_pkg_manifest = "${pkg_dir}/base_${pkg_name}.manifest"
106 base_pkg_manifest = "${pkg_dir}/base_${pkg_name}.manifest"
107 pkg_manifest = "${pkg_dir}/${pkg_name}.manifest"
/third_party/python/Lib/test/test_importlib/source/
Dtest_finder.py103 pkg_dir = os.path.dirname(mapping['pkg.__init__'])
104 loader = self.import_(pkg_dir, 'pkg.sub')
111 pkg_dir = os.path.dirname(mapping['pkg.__init__'])
112 loader = self.import_(pkg_dir, 'pkg.sub')
/third_party/python/Lib/test/test_json/
D__init__.py57 pkg_dir = os.path.dirname(__file__)
58 return support.load_package_tests(pkg_dir, loader, suite, pattern)
/third_party/python/Lib/test/support/
Dscript_helper.py241 def make_pkg(pkg_dir, init_source=''): argument
242 os.mkdir(pkg_dir)
243 make_script(pkg_dir, '__init__', init_source)
D__init__.py141 def load_package_tests(pkg_dir, loader, standard_tests, pattern): argument
154 package_tests = loader.discover(start_dir=pkg_dir,
/third_party/python/Lib/test/test_importlib/
Dtest_util.py477 with util.temp_module(name, pkg=True) as pkg_dir:
478 fullname, _ = util.submodule(name, subname, pkg_dir)
490 with util.temp_module(name, pkg=True) as pkg_dir:
492 fullname, _ = util.submodule(name, subname, pkg_dir)
504 with util.temp_module(name, pkg=True) as pkg_dir:
505 fullname, _ = util.submodule(name, subname, pkg_dir)
518 with util.temp_module(name, pkg=True) as pkg_dir:
519 fullname, _ = util.submodule(name, subname, pkg_dir)
Dutil.py117 def submodule(parent, name, pkg_dir, content=''): argument
118 path = os.path.join(pkg_dir, name + '.py')
Dtest_api.py362 with test_util.temp_module(name, pkg=True) as pkg_dir:
363 fullname, _ = test_util.submodule(name, subname, pkg_dir)

12