summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/core.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-02-05 02:24:52 (GMT)
committerGreg Ward <gward@python.net>2000-02-05 02:24:52 (GMT)
commit1bea7ab7bd821b2ae4e4f90f0e0c08de942d41a0 (patch)
treee746713322395d67cffe6582a4416be735a76eed /Lib/distutils/core.py
parent5f7c18e816068b4d78230e46fb89c2bdb44b7fe7 (diff)
downloadcpython-1bea7ab7bd821b2ae4e4f90f0e0c08de942d41a0.zip
cpython-1bea7ab7bd821b2ae4e4f90f0e0c08de942d41a0.tar.gz
cpython-1bea7ab7bd821b2ae4e4f90f0e0c08de942d41a0.tar.bz2
Added 'libraries' option for use by the 'build_lib' command.
Typo fix.
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__