Lines Matching full:commands
47 to the Distutils commands specified on the command line.
59 # supplied to the setup script prior to any actual commands.
63 # don't want to pollute the commands with too many options that they
78 Common commands: (see '--help-commands' for more)
84 # options that are not propagated to the commands
86 ('help-commands', None,
87 "list all available commands"),
170 # 'command_packages' is a list of packages in which commands
192 # have been created by any dist commands run so far. This is
202 # These options are really the business of various commands, rather
305 def dump_option_dicts(self, header=None, commands=None, indent=""): argument
308 if commands is None: # dump all command option dicts
309 commands = sorted(self.command_options.keys())
315 if not commands:
316 self.announce(indent + "no commands known yet")
319 for cmd_name in commands:
444 instance. Then, it is alternately scanned for Distutils commands
451 command-line raises DistutilsArgError. If no Distutils commands
454 on with executing commands; false if no errors but we shouldn't
455 execute commands (currently, this only happens if user asks for
471 self.commands = []
495 display_options=len(self.commands) == 0,
496 commands=self.commands)
499 # Oops, no commands found -- an end-user error
500 if not self.commands:
501 raise DistutilsArgError("no commands supplied")
510 level as well as options recognized for commands.
514 "list of packages that provide distutils commands"),
523 list if there are no more commands on the command line. Returns
533 self.commands.append(command)
572 # All commands support the global options too, just by adding
580 self._show_help(parser, display_options=0, commands=[cmd_class])
622 commands=[]): argument
633 in 'commands'.
652 "information, ignore any commands)")
655 for command in self.commands:
673 (--help-commands or the metadata display options) on the command
679 # User just wants a list of commands -- we'll print it out and stop
680 # processing now (ie. if they ran "setup --help-commands foo bar",
711 def print_command_list(self, commands, header, max_length): argument
712 """Print a subset of the list of all commands -- used by
717 for cmd in commands:
729 """Print out a help message listing all available commands with a
730 description of each. The list is divided into "standard commands"
731 (listed in distutils.command.__all__) and "extra commands"
753 "Standard commands",
758 "Extra commands",
763 The list is divided into "standard commands" (listed in
764 distutils.command.__all__) and "extra commands" (mentioned in
796 """Return a list of packages from which commands are loaded."""
928 sub-commands, as declared by the 'sub_commands' class attribute (if
930 reinitializes the sub-commands that actually matter, ie. those
962 Uses the list of commands found and cache of command objects
965 for cmd in self.commands:
968 # -- Methods that operate on its Commands --------------------------