Lines Matching refs:base_dir
333 base_dir = self.distribution.get_fullname()
336 self.filelist.exclude_pattern(None, prefix=base_dir)
388 def make_release_tree(self, base_dir, files):
391 'files' are created under 'base_dir', and then we hard link or copy
397 # Create all the directories under 'base_dir' necessary to
400 self.mkpath(base_dir)
401 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
405 # corresponding location under 'base_dir', or copying each file
406 # that's out-of-date in 'base_dir'. (Usually, all files will be
407 # out-of-date, because by default we blow away 'base_dir' when
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()
441 base_name = os.path.join(self.dist_dir, base_dir)
443 self.make_release_tree(base_dir, self.filelist.files)
450 file = self.make_archive(base_name, fmt, base_dir=base_dir,
458 dir_util.remove_tree(base_dir, dry_run=self.dry_run)