fixed #4646 : distutils was choking on empty options arg in the setup function.

This commit is contained in:
Tarek Ziadé 2008-12-29 22:23:53 +00:00
parent fc5a8543ce
commit c13acb18bc
3 changed files with 28 additions and 1 deletions

View file

@ -235,7 +235,7 @@ Common commands: (see '--help-commands' for more)
# command options will override any supplied redundantly
# through the general options dictionary.
options = attrs.get('options')
if options:
if options is not None:
del attrs['options']
for (command, cmd_options) in options.items():
opt_dict = self.get_option_dict(command)