Home | History | Annotate | Download | only in distutils

Lines Matching refs:commands

37     to the Distutils commands specified on the command line.
50 # supplied to the setup script prior to any actual commands.
54 # don't want to pollute the commands with too many options that they
68 Common commands: (see '--help-commands' for more)
74 # options that are not propagated to the commands
76 ('help-commands', None,
77 "list all available commands"),
162 # 'command_packages' is a list of packages in which commands
184 # have been created by any dist commands run so far. This is
194 # These options are really the business of various commands, rather
300 def dump_option_dicts(self, header=None, commands=None, indent=""):
303 if commands is None: # dump all command option dicts
304 commands = self.command_options.keys()
305 commands.sort()
311 if not commands:
312 self.announce(indent + "no commands known yet")
315 for cmd_name in commands:
428 instance. Then, it is alternately scanned for Distutils commands
435 command-line raises DistutilsArgError. If no Distutils commands
438 on with executing commands; false if no errors but we shouldn't
439 execute commands (currently, this only happens if user asks for
455 self.commands = []
479 display_options=len(self.commands) == 0,
480 commands=self.commands)
483 # Oops, no commands found -- an end-user error
484 if not self.commands:
485 raise DistutilsArgError, "no commands supplied"
494 level as well as options recognized for commands.
498 "list of packages that provide distutils commands"),
507 list if there are no more commands on the command line. Returns
517 self.commands.append(command)
558 # All commands support the global options too, just by adding
566 self._show_help(parser, display_options=0, commands=[cmd_class])
608 commands=[]):
619 in 'commands'.
638 "information, ignore any commands)")
641 for command in self.commands:
659 (--help-commands or the metadata display options) on the command
665 # User just wants a list of commands -- we'll print it out and stop
666 # processing now (ie. if they ran "setup --help-commands foo bar",
697 def print_command_list(self, commands, header, max_length):
698 """Print a subset of the list of all commands -- used by
703 for cmd in commands:
715 """Print out a help message listing all available commands with a
716 description of each. The list is divided into "standard commands"
717 (listed in distutils.command.__all__) and "extra commands"
739 "Standard commands",
744 "Extra commands",
749 The list is divided into "standard commands" (listed in
750 distutils.command.__all__) and "extra commands" (mentioned in
783 """Return a list of packages from which commands are loaded."""
915 sub-commands, as declared by the 'sub_commands' class attribute (if
917 reinitializes the sub-commands that actually matter, ie. those
949 Uses the list of commands found and cache of command objects
952 for cmd in self.commands:
955 # -- Methods that operate on its Commands --------------------------