Lines Matching refs:base_dir
362 base_dir = self.distribution.get_fullname()
365 self.filelist.exclude_pattern(None, prefix=base_dir)
418 def make_release_tree(self, base_dir, files):
421 'files' are created under 'base_dir', and then we hard link or copy
427 # Create all the directories under 'base_dir' necessary to
430 self.mkpath(base_dir)
431 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
435 # corresponding location under 'base_dir', or copying each file
436 # that's out-of-date in 'base_dir'. (Usually, all files will be
437 # out-of-date, because by default we blow away 'base_dir' when
442 msg = "making hard links in %s..." % base_dir
445 msg = "copying files to %s..." % base_dir
455 dest = os.path.join(base_dir, file)
458 self.distribution.metadata.write_pkg_info(base_dir)
470 base_dir = self.distribution.get_fullname()
471 base_name = os.path.join(self.dist_dir, base_dir)
473 self.make_release_tree(base_dir, self.filelist.files)
480 file = self.make_archive(base_name, fmt, base_dir=base_dir,
488 dir_util.remove_tree(base_dir, dry_run=self.dry_run)