Lines Matching refs:cmd_class
528 cmd_class = self.get_command_class(command)
534 if not issubclass(cmd_class, Command):
536 "command class %s must subclass Command" % cmd_class)
540 if not (hasattr(cmd_class, 'user_options') and
541 isinstance(cmd_class.user_options, list)):
544 raise DistutilsClassError(msg % cmd_class)
549 if hasattr(cmd_class, 'negative_opt'):
551 negative_opt.update(cmd_class.negative_opt)
555 if (hasattr(cmd_class, 'help_options') and
556 isinstance(cmd_class.help_options, list)):
557 help_options = fix_help_options(cmd_class.help_options)
564 cmd_class.user_options +
569 self._show_help(parser, display_options=0, commands=[cmd_class])
572 if (hasattr(cmd_class, 'help_options') and
573 isinstance(cmd_class.help_options, list)):
575 for (help_option, short, desc, func) in cmd_class.help_options: