Kaydet (Commit) 898f099d authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Bug #409403: Signal an error if the distribution's metadata has no version

üst 9b5abcd4
......@@ -206,6 +206,10 @@ class Distribution:
raise DistutilsSetupError, \
"invalid distribution option '%s'" % key
if self.metadata.version is None:
raise DistutilsSetupError, \
"No version number specified for distribution"
# __init__ ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment