summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/core.py')
-rw-r--r--Lib/distutils/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index 7a646da..88e889b 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -188,6 +188,7 @@ class Distribution:
self.packages = None
self.package_dir = None
self.py_modules = None
+ self.libraries = None
self.ext_modules = None
self.ext_package = None
self.include_dirs = None
@@ -314,7 +315,7 @@ class Distribution:
# known options
if not (hasattr (cmd_obj, 'options') and
type (cmd_obj.options) is ListType):
- raise DistutilsClasserror, \
+ raise DistutilsClassError, \
("command class %s must provide an 'options' attribute "+
"(a list of tuples)") % \
cmd_obj.__class__