Add the upload command. Make all dist commands register their

outputs with the distribution object.
This commit is contained in:
Martin v. Löwis 2005-03-21 20:56:35 +00:00
parent e6c430dffe
commit 55f1bb8bfa
8 changed files with 56 additions and 2 deletions

View file

@ -117,8 +117,9 @@ class bdist_dumb (Command):
ensure_relative(install.install_base))
# Make the archive
self.make_archive(pseudoinstall_root,
self.format, root_dir=archive_root)
filename = self.make_archive(pseudoinstall_root,
self.format, root_dir=archive_root)
self.distribution.dist_files.append(('bdist_dumb', filename))
if not self.keep_temp:
remove_tree(self.bdist_dir, dry_run=self.dry_run)