summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/bdist_dumb.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-21 20:56:35 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-21 20:56:35 (GMT)
commit55f1bb8bfa362569b6698a91a1cf421bdfcd13d7 (patch)
treebeea9fb70aee8ff05b1f6fa78bd04e5d2a668bdf /Lib/distutils/command/bdist_dumb.py
parente6c430dffe5618016c516578726c0a7aa1471a9e (diff)
downloadcpython-55f1bb8bfa362569b6698a91a1cf421bdfcd13d7.zip
cpython-55f1bb8bfa362569b6698a91a1cf421bdfcd13d7.tar.gz
cpython-55f1bb8bfa362569b6698a91a1cf421bdfcd13d7.tar.bz2
Add the upload command. Make all dist commands register their
outputs with the distribution object.
Diffstat (limited to 'Lib/distutils/command/bdist_dumb.py')
-rw-r--r--Lib/distutils/command/bdist_dumb.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py
index 7f498c8..5943551 100644
--- a/Lib/distutils/command/bdist_dumb.py
+++ b/Lib/distutils/command/bdist_dumb.py
@@ -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)