Home | History | Annotate | Download | only in distutils

Lines Matching refs:commands

33     to the Distutils commands specified on the command line.
45 # supplied to the setup script prior to any actual commands.
49 # don't want to pollute the commands with too many options that they
64 Common commands: (see '--help-commands' for more)
70 # options that are not propagated to the commands
72 ('help-commands', None,
73 "list all available commands"),
156 # 'command_packages' is a list of packages in which commands
178 # have been created by any dist commands run so far. This is
188 # These options are really the business of various commands, rather
294 def dump_option_dicts(self, header=None, commands=None, indent=""):
297 if commands is None: # dump all command option dicts
298 commands = sorted(self.command_options.keys())
304 if not commands:
305 self.announce(indent + "no commands known yet")
308 for cmd_name in commands:
433 instance. Then, it is alternately scanned for Distutils commands
440 command-line raises DistutilsArgError. If no Distutils commands
443 on with executing commands; false if no errors but we shouldn't
444 execute commands (currently, this only happens if user asks for
460 self.commands = []
484 display_options=len(self.commands) == 0,
485 commands=self.commands)
488 # Oops, no commands found -- an end-user error
489 if not self.commands:
490 raise DistutilsArgError("no commands supplied")
499 level as well as options recognized for commands.
503 "list of packages that provide distutils commands"),
512 list if there are no more commands on the command line. Returns
522 self.commands.append(command)
561 # All commands support the global options too, just by adding
569 self._show_help(parser, display_options=0, commands=[cmd_class])
611 commands=[]):
622 in 'commands'.
641 "information, ignore any commands)")
644 for command in self.commands:
662 (--help-commands or the metadata display options) on the command
668 # User just wants a list of commands -- we'll print it out and stop
669 # processing now (ie. if they ran "setup --help-commands foo bar",
700 def print_command_list(self, commands, header, max_length):
701 """Print a subset of the list of all commands -- used by
706 for cmd in commands:
718 """Print out a help message listing all available commands with a
719 description of each. The list is divided into "standard commands"
720 (listed in distutils.command.__all__) and "extra commands"
742 "Standard commands",
747 "Extra commands",
752 The list is divided into "standard commands" (listed in
753 distutils.command.__all__) and "extra commands" (mentioned in
785 """Return a list of packages from which commands are loaded."""
917 sub-commands, as declared by the 'sub_commands' class attribute (if
919 reinitializes the sub-commands that actually matter, ie. those
951 Uses the list of commands found and cache of command objects
954 for cmd in self.commands:
957 # -- Methods that operate on its Commands --------------------------