Skip to content

Commit b667da7

Browse files
author
theller
committed
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. git-svn-id: http://svn.python.org/projects/python/trunk@24578 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 6d83a32 commit b667da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/distutils/dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ def get_name (self):
10121012
return self.name or "UNKNOWN"
10131013

10141014
def get_version(self):
1015-
return self.version or "???"
1015+
return self.version or "0.0.0"
10161016

10171017
def get_fullname (self):
10181018
return "%s-%s" % (self.get_name(), self.get_version())

0 commit comments

Comments
 (0)