Home
last modified time | relevance | path

Searched refs:base_dir (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Darchive_util.py51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
103 tar.add(base_dir, filter=_set_uid_gid)
121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument
147 spawn(["zip", zipoptions, zip_filename, base_dir],
159 zip_filename, base_dir)
165 for dirpath, dirnames, filenames in os.walk(base_dir):
193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
218 if base_dir is None:
219 base_dir = os.curdir
237 filename = func(base_name, base_dir, **kwargs)
Dutil.py420 prefix=None, base_dir=None, argument
509 """ % (optimize, force, prefix, base_dir, verbose))
546 if base_dir:
547 dfile = os.path.join(base_dir, dfile)
Ddir_util.py82 def create_tree(base_dir, files, mode=0777, verbose=1, dry_run=0): argument
95 need_dir[os.path.join(base_dir, os.path.dirname(file))] = 1
Dcmd.py388 def make_archive(self, base_name, format, root_dir=None, base_dir=None, argument
391 base_dir, dry_run=self.dry_run,
Ddist.py1101 def write_pkg_info(self, base_dir): argument
1104 pkg_info = open(os.path.join(base_dir, 'PKG-INFO'), 'w')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dsdist.py333 base_dir = self.distribution.get_fullname()
336 self.filelist.exclude_pattern(None, prefix=base_dir)
388 def make_release_tree(self, base_dir, files): argument
400 self.mkpath(base_dir)
401 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
412 msg = "making hard links in %s..." % base_dir
415 msg = "copying files to %s..." % base_dir
425 dest = os.path.join(base_dir, file)
428 self.distribution.metadata.write_pkg_info(base_dir)
440 base_dir = self.distribution.get_fullname()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dshutil.py338 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
393 tar.add(base_dir, filter=_set_uid_gid)
399 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): argument
408 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run)
417 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument
443 _call_external_zip(base_dir, zip_filename, verbose, dry_run)
447 zip_filename, base_dir)
452 for dirpath, dirnames, filenames in os.walk(base_dir):
503 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
529 if base_dir is None:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dshutil.py334 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
388 tar.add(base_dir, filter=_set_uid_gid)
394 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): argument
403 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run)
412 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument
438 _call_external_zip(base_dir, zip_filename, verbose, dry_run)
442 zip_filename, base_dir)
448 for dirpath, dirnames, filenames in os.walk(base_dir):
500 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
526 if base_dir is None:
[all …]
/device/linaro/bootloader/edk2/BaseTools/gcc/
Dmingw-gcc-build.py58 self.base_dir = os.getcwd()
80 default = os.path.join(self.base_dir, 'src'),
86 default = os.path.join(self.base_dir, 'build'),
92 default = os.path.join(self.base_dir, 'install'),
110 default = os.path.join(self.base_dir, 'symlinks'),
155 print " ", self.base_dir
183 if path.startswith(self.base_dir):
184 return '.' + path[len(self.base_dir):]
446 base_dir = os.getcwd()
481 os.chdir(base_dir)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_archive_util.py223 base_dir, root_dir, base_name = self._create_files()
225 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
229 res = make_archive(base_name, 'zip', root_dir, base_dir)
232 res = make_archive(base_name, 'tar', root_dir, base_dir,
236 res = make_archive(base_name, 'tar', root_dir, base_dir,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_site.py94 site.addpackage(pth_file.base_dir, pth_file.filename, set())
159 site.addsitedir(pth_file.base_dir, set())
262 self.base_dir = os.path.abspath('')
263 self.file_path = os.path.join(self.base_dir, self.filename)
267 self.good_dir_path = os.path.join(self.base_dir, self.good_dirname)
268 self.bad_dir_path = os.path.join(self.base_dir, self.bad_dirname)
Dtest_shutil.py490 base_dir, root_dir, base_name = self._create_files()
492 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
496 res = make_archive(base_name, 'zip', root_dir, base_dir)
499 res = make_archive(base_name, 'tar', root_dir, base_dir,
503 res = make_archive(base_name, 'tar', root_dir, base_dir,
Dtest_runpy.py204 def _add_relative_modules(self, base_dir, source, depth): argument
208 module_dir = base_dir