[Python-checkins] python/dist/src/Lib/distutils dist.py,1.76,1.77

loewis at users.sourceforge.net loewis at users.sourceforge.net
Wed Mar 23 19:54:42 CET 2005


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11294

Modified Files:
	dist.py 
Log Message:
Make dist_files a triple, with the Python target version included,
so that bdist_wininst can specify 'any'.


Index: dist.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/dist.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- dist.py	21 Mar 2005 20:56:30 -0000	1.76
+++ dist.py	23 Mar 2005 18:54:04 -0000	1.77
@@ -177,9 +177,15 @@
         #   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



More information about the Python-checkins mailing list