Lines Matching refs:base_dir

813         base_dir = self.mkdtemp()
814 self.addCleanup(shutil.rmtree, base_dir, ignore_errors=True)
815 src_dir = os.path.join(base_dir, "t", "pg")
1345 root_dir, base_dir = self._create_files('')
1384 def _create_files(self, base_dir='dist'):
1387 dist = os.path.join(root_dir, base_dir)
1394 if base_dir:
1396 return root_dir, base_dir
1402 root_dir, base_dir = self._create_files()
1405 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
1413 tar_cmd = ['tar', '-cf', 'archive2.tar', base_dir]
1423 tarball = make_archive(base_name, 'tar', root_dir, base_dir)
1429 tarball = make_archive(base_name, 'tar', root_dir, base_dir,
1437 root_dir, base_dir = self._create_files()
1461 res = make_archive(rel_base_name, 'zip', root_dir, base_dir)
1475 root_dir, base_dir = self._create_files()
1478 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1486 zip_cmd = ['zip', '-q', '-r', 'archive2.zip', base_dir]
1502 root_dir, base_dir = self._create_files()
1505 archive = make_archive(base_name, 'zip', root_dir, base_dir)
1538 root_dir, base_dir = self._create_files()
1540 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
1544 res = make_archive(base_name, 'zip', root_dir, base_dir)
1547 res = make_archive(base_name, 'tar', root_dir, base_dir,
1551 res = make_archive(base_name, 'tar', root_dir, base_dir,
1559 root_dir, base_dir = self._create_files()
1642 root_dir, base_dir = self._create_files()
1647 filename = make_archive(base_name, format, root_dir, base_dir)
1830 base_dir, tail_dir = os.path.split(self.dir)
1832 with os_helper.change_cwd(path=base_dir):
1837 rv = shutil.which(relpath, path=base_dir)
1842 base_dir = os.path.dirname(self.dir)
1844 rv = shutil.which(self.file, path=base_dir)
1862 base_dir, tail_dir = os.path.split(self.dir)
1863 with os_helper.change_cwd(path=base_dir):
1938 base_dir = os.path.dirname(self.dir)