summaryrefslogtreecommitdiff
path: root/Lib/distutils/dist.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-23 18:54:36 +0000
committerMartin v. Löwis <martin@v.loewis.de>2005-03-23 18:54:36 +0000
commit2fb8812afe1410693c5c78a1f2eb7cee15a62fc8 (patch)
treed450850015e6fba67c38881b8ae79f75d24b0bf2 /Lib/distutils/dist.py
parent7e5563ddd88ca1f2607a51f69d85a067e7fe0f37 (diff)
downloadcpython-2fb8812afe1410693c5c78a1f2eb7cee15a62fc8.tar.gz
Make dist_files a triple, with the Python target version included,
so that bdist_wininst can specify 'any'.
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r--Lib/distutils/dist.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index c7ec3830fa..ff49886d97 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -177,9 +177,15 @@ 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.
+ # 'dist_files' is the list of (command, pyversion, file) that
+ # have been created by any dist commands run so far. This is
+ # filled regardless of whether the run is dry or not. pyversion
+ # gives sysconfig.get_python_version() if the dist file is
+ # specific to a Python version, 'any' if it is good for all
+ # Python versions on the target platform, and '' for a source
+ # file. pyversion should not be used to specify minimum or
+ # maximum required Python versions; use the metainfo for that
+ # instead.
self.dist_files = []
# These options are really the business of various commands, rather