summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2001-12-06 20:44:19 (GMT)
committerThomas Heller <theller@ctypes.org>2001-12-06 20:44:19 (GMT)
commitbcd8975740da47e7d1c8a5d2839ad4bf214fe34b (patch)
tree53311b8c24f8932e9146c5308810d7229e459152 /Lib/distutils
parent32a3587345f3207c4471b7eca88be9fbb0cbc65c (diff)
downloadcpython-bcd8975740da47e7d1c8a5d2839ad4bf214fe34b.zip
cpython-bcd8975740da47e7d1c8a5d2839ad4bf214fe34b.tar.gz
cpython-bcd8975740da47e7d1c8a5d2839ad4bf214fe34b.tar.bz2
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.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/dist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 3e1bc64..d5bfa05 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -1012,7 +1012,7 @@ class DistributionMetadata:
return self.name or "UNKNOWN"
def get_version(self):
- return self.version or "???"
+ return self.version or "0.0.0"
def get_fullname (self):
return "%s-%s" % (self.get_name(), self.get_version())