summaryrefslogtreecommitdiff
path: root/Lib/distutils/dist.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-21 20:56:35 +0000
committerMartin v. Löwis <martin@v.loewis.de>2005-03-21 20:56:35 +0000
commita94a2fe0f5bea8e9a6962a3401b1c0d97363df44 (patch)
treec3d5d720e30606b5e2e4c1e4923fe4d1d3b1a862 /Lib/distutils/dist.py
parent8730bcc0c9556e3cfd685ca1c548b4494bfd3388 (diff)
downloadcpython-a94a2fe0f5bea8e9a6962a3401b1c0d97363df44.tar.gz
Add the upload command. Make all dist commands register their
outputs with the distribution object.
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r--Lib/distutils/dist.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index f015874bc4..c7ec3830fa 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -177,6 +177,11 @@ Common commands: (see '--help-commands' for more)
# command_options = { command_name : { option : (source, value) } }
self.command_options = {}
+ # 'dist_files' is the list of (command, file) that have been created
+ # by any dist commands run so far. This is filled regardless
+ # of whether the run is dry or not.
+ self.dist_files = []
+
# These options are really the business of various commands, rather
# than of the Distribution itself. We provide aliases for them in
# Distribution as a convenience to the developer.