Home | History | Annotate | Download | only in command

Lines Matching refs:base_dir

342         base_dir = self.distribution.get_fullname()
345 self.filelist.exclude_pattern(None, prefix=base_dir)
401 def make_release_tree(self, base_dir, files):
404 'files' are created under 'base_dir', and then we hard link or copy
410 # Create all the directories under 'base_dir' necessary to
413 self.mkpath(base_dir)
414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
418 # corresponding location under 'base_dir', or copying each file
419 # that's out-of-date in 'base_dir'. (Usually, all files will be
420 # out-of-date, because by default we blow away 'base_dir' when
425 msg = "making hard links in %s..." % base_dir
428 msg = "copying files to %s..." % base_dir
438 dest = os.path.join(base_dir, file)
441 self.distribution.metadata.write_pkg_info(base_dir)
453 base_dir = self.distribution.get_fullname()
454 base_name = os.path.join(self.dist_dir, base_dir)
456 self.make_release_tree(base_dir, self.filelist.files)
463 file = self.make_archive(base_name, fmt, base_dir=base_dir,
471 dir_util.remove_tree(base_dir, dry_run=self.dry_run)