summaryrefslogtreecommitdiffstats
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 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-21 20:56:35 (GMT)
commit55f1bb8bfa362569b6698a91a1cf421bdfcd13d7 (patch)
treebeea9fb70aee8ff05b1f6fa78bd04e5d2a668bdf /Lib/distutils/dist.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/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 f015874..c7ec383 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.