[Python-checkins] CVS: python/dist/src/Lib/distutils dist.py,1.51,1.52

Thomas Heller theller@users.sourceforge.net
Thu, 06 Dec 2001 12:44:21 -0800


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv23337

Modified Files:
	dist.py 
Log Message:
Use a version number of 0.0.0 instead of ???.  The latter leads to
invalid filenames on Windows when building without specifying a
version number in the setup script.

See also
http://mail.python.org/pipermail/distutils-sig/2001-November/002656.html

Bugfix candidate.


Index: dist.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/dist.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** dist.py	2001/12/06 16:32:05	1.51
--- dist.py	2001/12/06 20:44:19	1.52
***************
*** 1013,1017 ****
  
      def get_version(self):
!         return self.version or "???"
  
      def get_fullname (self):
--- 1013,1017 ----
  
      def get_version(self):
!         return self.version or "0.0.0"
  
      def get_fullname (self):