From bcd8975740da47e7d1c8a5d2839ad4bf214fe34b Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Thu, 6 Dec 2001 20:44:19 +0000 Subject: 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. --- Lib/distutils/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v0.12