Command classes are now named identically to their commands, so reflect this
in 'find_command_class()' method.
This commit is contained in:
parent
1993f9ad0e
commit
592f28272e
|
@ -447,8 +447,7 @@ class Distribution:
|
|||
expected class was not found in it."""
|
||||
|
||||
module_name = 'distutils.command.' + command
|
||||
klass_name = string.join \
|
||||
(map (string.capitalize, string.split (command, '_')), '')
|
||||
klass_name = command
|
||||
|
||||
try:
|
||||
__import__ (module_name)
|
||||
|
|
Loading…
Reference in New Issue