]> granicus.if.org Git - python/commitdiff
Added 'libraries' option for use by the 'build_lib' command.
authorGreg Ward <gward@python.net>
Sat, 5 Feb 2000 02:24:52 +0000 (02:24 +0000)
committerGreg Ward <gward@python.net>
Sat, 5 Feb 2000 02:24:52 +0000 (02:24 +0000)
Typo fix.

Lib/distutils/core.py

index 7a646dad22273ec1acd848a9d88c2e08a91aa4a0..88e889b22fe43efd0930e978f3ba66c348daf308 100644 (file)
@@ -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__