/third_party/python/Lib/distutils/tests/ |
D | test_bdist_rpm.py | 56 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 …]
|
D | test_bdist_dumb.py | 50 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'))
|
D | test_install_data.py | 15 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')
|
D | test_build_clib.py | 27 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')
|
D | test_build_py.py | 132 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")
|
D | test_config_cmd.py | 49 pkg_dir, dist = self.create_dist() 66 pkg_dir, dist = self.create_dist() 89 pkg_dir, dist = self.create_dist()
|
D | test_install_headers.py | 23 pkg_dir, dist = self.create_dist(headers=headers) 28 cmd.install_dir = os.path.join(pkg_dir, 'inst')
|
D | test_clean.py | 14 pkg_dir, dist = self.create_dist() 18 dirs = [(d, os.path.join(pkg_dir, d))
|
D | support.py | 103 pkg_dir = os.path.join(tmp_dir, pkg_name) 104 os.mkdir(pkg_dir) 107 return pkg_dir, dist
|
D | test_upload.py | 125 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)
|
D | test_build.py | 16 pkg_dir, dist = self.create_dist()
|
/third_party/python/Lib/test/ |
D | test_cmd_line_script.py | 316 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 …]
|
D | test_runpy.py | 215 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 …]
|
D | test_multiprocessing_main_handling.py | 241 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__',
|
D | test_doctest.py | 732 pkg_dir = os.path.join(parent_dir, pkg_name) 733 os.mkdir(pkg_dir)
|
/third_party/skia/build/fuchsia/ |
D | gen_package | 32 assert os.path.exists(args.pkg_dir) 34 pkg_dir = args.pkg_dir 42 pkg_dir,
|
D | sdk.gni | 288 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/ |
D | BUILD.gn | 9 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/ |
D | test_finder.py | 103 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__.py | 57 pkg_dir = os.path.dirname(__file__) 58 return support.load_package_tests(pkg_dir, loader, suite, pattern)
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 241 def make_pkg(pkg_dir, init_source=''): argument 242 os.mkdir(pkg_dir) 243 make_script(pkg_dir, '__init__', init_source)
|
D | __init__.py | 141 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/ |
D | test_util.py | 477 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)
|
D | util.py | 117 def submodule(parent, name, pkg_dir, content=''): argument 118 path = os.path.join(pkg_dir, name + '.py')
|
D | test_api.py | 362 with test_util.temp_module(name, pkg=True) as pkg_dir: 363 fullname, _ = test_util.submodule(name, subname, pkg_dir)
|