diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/dist.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 41d5dbb..6bda869 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -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__ () |