Lines Matching refs:cmd_class
539 cmd_class = self.get_command_class(command)
545 if not issubclass(cmd_class, Command):
547 "command class %s must subclass Command" % cmd_class)
551 if not (hasattr(cmd_class, 'user_options') and
552 isinstance(cmd_class.user_options, list)):
555 raise DistutilsClassError(msg % cmd_class)
560 if hasattr(cmd_class, 'negative_opt'):
562 negative_opt.update(cmd_class.negative_opt)
566 if (hasattr(cmd_class, 'help_options') and
567 isinstance(cmd_class.help_options, list)):
568 help_options = fix_help_options(cmd_class.help_options)
575 cmd_class.user_options +
580 self._show_help(parser, display_options=0, commands=[cmd_class])
583 if (hasattr(cmd_class, 'help_options') and
584 isinstance(cmd_class.help_options, list)):
586 for (help_option, short, desc, func) in cmd_class.help_options: