Home | History | Annotate | Download | only in distutils

Lines Matching refs:cmd_class

523             cmd_class = self.get_command_class(command)
529 if not issubclass(cmd_class, Command):
531 "command class %s must subclass Command" % cmd_class
535 if not (hasattr(cmd_class, 'user_options') and
536 isinstance(cmd_class.user_options, list)):
540 cmd_class
545 if hasattr(cmd_class, 'negative_opt'):
547 negative_opt.update(cmd_class.negative_opt)
551 if (hasattr(cmd_class, 'help_options') and
552 isinstance(cmd_class.help_options, list)):
553 help_options = fix_help_options(cmd_class.help_options)
561 cmd_class.user_options +
566 self._show_help(parser, display_options=0, commands=[cmd_class])
569 if (hasattr(cmd_class, 'help_options') and
570 isinstance(cmd_class.help_options, list)):
572 for (help_option, short, desc, func) in cmd_class.help_options: