Kaydet (Commit) 1bea7ab7 authored tarafından Greg Ward's avatar Greg Ward

Added 'libraries' option for use by the 'build_lib' command.

Typo fix.
üst 5f7c18e8
...@@ -188,6 +188,7 @@ class Distribution: ...@@ -188,6 +188,7 @@ class Distribution:
self.packages = None self.packages = None
self.package_dir = None self.package_dir = None
self.py_modules = None self.py_modules = None
self.libraries = None
self.ext_modules = None self.ext_modules = None
self.ext_package = None self.ext_package = None
self.include_dirs = None self.include_dirs = None
...@@ -314,7 +315,7 @@ class Distribution: ...@@ -314,7 +315,7 @@ class Distribution:
# known options # known options
if not (hasattr (cmd_obj, 'options') and if not (hasattr (cmd_obj, 'options') and
type (cmd_obj.options) is ListType): type (cmd_obj.options) is ListType):
raise DistutilsClasserror, \ raise DistutilsClassError, \
("command class %s must provide an 'options' attribute "+ ("command class %s must provide an 'options' attribute "+
"(a list of tuples)") % \ "(a list of tuples)") % \
cmd_obj.__class__ cmd_obj.__class__
......
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