Show More
@@ -489,7 +489,11 b' class hgdist(Distribution):' | |||||
489 | negative_opt['no-rust'] = 'rust' |
|
489 | negative_opt['no-rust'] = 'rust' | |
490 |
|
490 | |||
491 | def _set_command_options(self, command_obj, option_dict=None): |
|
491 | def _set_command_options(self, command_obj, option_dict=None): | |
492 | command_obj.boolean_options += self.boolean_options |
|
492 | # Not all distutils versions in the wild have boolean_options. | |
|
493 | # This should be cleaned up when we're Python 3 only. | |||
|
494 | command_obj.boolean_options = ( | |||
|
495 | getattr(command_obj, 'boolean_options', []) + self.boolean_options | |||
|
496 | ) | |||
493 | return Distribution._set_command_options( |
|
497 | return Distribution._set_command_options( | |
494 | self, command_obj, option_dict=option_dict |
|
498 | self, command_obj, option_dict=option_dict | |
495 | ) |
|
499 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now