[Python-checkins] python/dist/src/Lib/distutils/command upload.py, 1.3, 1.4

loewis at users.sourceforge.net loewis at users.sourceforge.net
Tue Mar 22 21:32:46 CET 2005


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

Modified Files:
	upload.py 
Log Message:
Don't set the Python version for sdist uploads.


Index: upload.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/upload.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- upload.py	22 Mar 2005 15:51:14 -0000	1.3
+++ upload.py	22 Mar 2005 20:32:41 -0000	1.4
@@ -89,6 +89,8 @@
                 comment = 'built for %s %s' % (dist, version)
         elif command == 'bdist_dumb':
             comment = 'built for %s' % platform.platform(terse=1)
+        elif command == 'sdist':
+            data['pyversion'] = ''
         data['comment'] = comment
 
         if self.sign:



More information about the Python-checkins mailing list