Home
last modified time | relevance | path

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

123

/external/python/cpython2/Lib/distutils/tests/
Dtest_install_lib.py18 pkg_dir, dist = self.create_dist()
36 pkg_dir, dist = self.create_dist()
40 f = os.path.join(pkg_dir, 'foo.py')
43 return pkg_dir
47 pkg_dir = self._setup_byte_compile()
49 self.assertTrue(os.path.exists(os.path.join(pkg_dir, 'foo.pyc')))
51 self.assertTrue(os.path.exists(os.path.join(pkg_dir, 'foo.pyo')))
54 pkg_dir, dist = self.create_dist()
59 cmd.install_dir = pkg_dir
60 f = os.path.join(pkg_dir, 'foo.py')
[all …]
Dtest_bdist_rpm.py61 pkg_dir = os.path.join(tmp_dir, 'foo')
62 os.mkdir(pkg_dir)
63 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
64 self.write_file((pkg_dir, 'foo.py'), '#')
65 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
66 self.write_file((pkg_dir, 'README'), '')
73 os.chdir(pkg_dir)
84 dist_created = os.listdir(os.path.join(pkg_dir, 'dist'))
105 pkg_dir = os.path.join(tmp_dir, 'foo')
106 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'))
96 pkg_dir, dist = self.create_dist()
97 os.chdir(pkg_dir)
Dtest_install_data.py17 pkg_dir, dist = self.create_dist()
19 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')
24 one = os.path.join(pkg_dir, 'one')
26 inst2 = os.path.join(pkg_dir, 'inst2')
27 two = os.path.join(pkg_dir, 'two')
57 cmd.root = os.path.join(pkg_dir, 'root')
59 inst4 = os.path.join(pkg_dir, 'inst4')
Dtest_build_clib.py18 pkg_dir, dist = self.create_dist()
48 pkg_dir, dist = self.create_dist()
71 pkg_dir, dist = self.create_dist()
91 pkg_dir, dist = self.create_dist()
107 pkg_dir, dist = self.create_dist()
110 foo_c = os.path.join(pkg_dir, 'foo.c')
114 build_temp = os.path.join(pkg_dir, 'build')
Dtest_build_py.py108 pkg_dir = os.path.join(sources, "pkg")
110 os.mkdir(pkg_dir)
111 open(os.path.join(pkg_dir, "__init__.py"), "w").close()
113 docdir = os.path.join(pkg_dir, "doc")
135 pkg_dir, dist = self.create_dist()
Dtest_config_cmd.py42 pkg_dir, dist = self.create_dist()
55 pkg_dir, dist = self.create_dist()
78 pkg_dir, dist = self.create_dist()
Dtest_install_headers.py25 pkg_dir, dist = self.create_dist(headers=headers)
30 cmd.install_dir = os.path.join(pkg_dir, 'inst')
/external/python/cpython3/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.py17 pkg_dir, dist = self.create_dist()
47 pkg_dir, dist = self.create_dist()
70 pkg_dir, dist = self.create_dist()
90 pkg_dir, dist = self.create_dist()
106 pkg_dir, dist = self.create_dist()
109 foo_c = os.path.join(pkg_dir, 'foo.c')
113 build_temp = os.path.join(pkg_dir, 'build')
Dtest_config_cmd.py45 pkg_dir, dist = self.create_dist()
62 pkg_dir, dist = self.create_dist()
85 pkg_dir, dist = self.create_dist()
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_install_headers.py23 pkg_dir, dist = self.create_dist(headers=headers)
28 cmd.install_dir = os.path.join(pkg_dir, 'inst')
/external/python/cpython2/Lib/test/
Dtest_cmd_line_script.py152 pkg_dir = os.path.join(script_dir, 'test_pkg')
153 make_pkg(pkg_dir)
154 script_name = _make_test_script(pkg_dir, 'script')
172 pkg_dir = os.path.join(script_dir, 'test_pkg')
173 make_pkg(pkg_dir)
174 script_name = _make_test_script(pkg_dir, '__main__')
181 pkg_dir = os.path.join(script_dir, 'test_pkg')
182 make_pkg(pkg_dir)
183 script_name = _make_test_script(pkg_dir, '__main__')
192 pkg_dir = os.path.join(script_dir, 'test_pkg')
[all …]
Dtest_runpy.py109 def _add_pkg_dir(self, pkg_dir): argument
110 os.mkdir(pkg_dir)
111 pkg_fname = os.path.join(pkg_dir, "__init__"+os.extsep+"py")
119 pkg_dir = sub_dir = tempfile.mkdtemp()
121 sys.path.insert(0, pkg_dir)
134 return pkg_dir, mod_fname, mod_name
162 pkg_dir, mod_fname, mod_name = (
180 self._del_pkg(pkg_dir, depth, mod_name)
184 pkg_dir, mod_fname, mod_name = (
203 self._del_pkg(pkg_dir, depth, pkg_name)
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_find_packages.py67 self.pkg_dir = self._mkdir('pkg', self.dist_dir)
68 self._mkdir('__pycache__', self.pkg_dir)
69 self.ns_pkg_dir = self._mkdir('nspkg', self.pkg_dir)
71 self.sub_pkg_dir = self._mkdir('subpkg', self.pkg_dir)
91 self._touch('__init__.py', self.pkg_dir)
96 self._touch('__init__.py', self.pkg_dir)
104 self._touch('__init__.py', self.pkg_dir)
113 self._touch('__init__.py', self.pkg_dir)
121 data_dir = self._mkdir('some.data', self.pkg_dir)
146 self._touch('__init__.py', self.pkg_dir)
[all …]
Dtest_integration.py147 def install(pkg_dir, install_dir): argument
148 with open(os.path.join(pkg_dir, 'setuptools.py'), 'w') as breaker:
151 env = dict(os.environ, PYTHONPATH=pkg_dir)
152 output = subprocess.check_output(cmd, cwd=pkg_dir, env=env, stderr=subprocess.STDOUT)
/external/python/cpython3/Lib/test/
Dtest_cmd_line_script.py314 pkg_dir = os.path.join(script_dir, 'test_pkg')
315 make_pkg(pkg_dir)
316 script_name = _make_test_script(pkg_dir, 'script')
339 pkg_dir = os.path.join(script_dir, 'test_pkg')
340 make_pkg(pkg_dir)
341 script_name = _make_test_script(pkg_dir, '__main__')
349 pkg_dir = os.path.join(script_dir, 'test_pkg')
350 make_pkg(pkg_dir)
351 script_name = _make_test_script(pkg_dir, '__main__')
362 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.py239 pkg_dir = os.path.join(script_dir, 'test_pkg')
240 make_pkg(pkg_dir)
241 script_name = _make_test_script(pkg_dir, 'check_sibling')
261 pkg_dir = os.path.join(script_dir, 'test_pkg')
262 make_pkg(pkg_dir)
263 script_name = _make_test_script(pkg_dir, '__main__',
271 pkg_dir = os.path.join(script_dir, 'test_pkg')
272 make_pkg(pkg_dir)
273 script_name = _make_test_script(pkg_dir, '__main__',
/external/autotest/utils/
Dpackager.py127 pkg_dir = src_dir
128 exclude_string = get_exclude_string(pkg_dir)
132 pkg_dir = os.path.join(get_test_dir(name, src_dir), name)
135 pkg_dir = os.path.join(src_dir, name)
152 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir,
174 tarball_path = os.path.join(pkg_dir, pkg_name);
179 tarball_path = pkgmgr.tar_package(pkg_name, pkg_dir,
205 pkg_dir = src_dir
206 exclude_string = get_exclude_string(pkg_dir)
210 pkg_dir = os.path.join(get_test_dir(name, src_dir), name)
[all …]
/external/skia/build/fuchsia/
Dgen_package32 assert os.path.exists(args.pkg_dir)
34 pkg_dir = args.pkg_dir
42 pkg_dir,
/external/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"

123