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.
This commit is contained in:
Thomas Heller 2001-12-06 20:44:19 +00:00
parent 32a3587345
commit bcd8975740
1 changed files with 1 additions and 1 deletions

View File

@ -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())