• Home
  • Raw
  • Download

Lines Matching +full:dry +full:- +full:run

22     been processed -- hence 'finalize_options()'.  The "body" of the
24 options, is the 'run()' method, which must also be implemented by every
29 # eg. "install" as the parent with sub-commands "install_lib",
45 # -- Creation/initialization methods -------------------------------
64 # Per-command versions of the global flags, so that the user can
65 # customize Distutils' behaviour command-by-command and let some
69 # value of each flag is a touch complicated -- hence "self._dry_run"
84 # The 'help' flag is just used for command-line parsing, so
113 # setup script, by options from config file(s), or by command-line
118 # (command-line, option file, etc.) has been processed
119 # run()
120 # run the command: do whatever it is we're here to do,
127 command-line. Thus, this is not the place to code dependencies
133 raise RuntimeError("abstract method -- subclass %s must override"
139 assignments from the command-line or from other commands have been
147 raise RuntimeError("abstract method -- subclass %s must override"
159 if option[-1] == "=":
160 option = option[:-1]
165 def run(self): member in Command
169 script, the command-line, and config files, and finalized in
171 interaction should be done by 'run()'.
175 raise RuntimeError("abstract method -- subclass %s must override"
194 # -- Option validation methods -------------------------------------
263 # -- Convenience methods for commands ------------------------------
309 """Run some other command: uses the 'run_command()' method of
311 necessary and then invokes its 'run()' method.
316 """Determine the sub-commands that are relevant in the current
317 distribution (ie., that need to be run). This is based on the
320 run for the current distribution. Return a list of command names.
329 # -- External world manipulation -----------------------------------
342 """Copy a file respecting verbose, dry-run and force flags. (The
351 """Copy an entire directory tree respecting verbose, dry-run,
359 """Move a file respecting dry-run flag."""
363 """Spawn an external command respecting dry-run flag."""
380 and it is true, then the command is unconditionally run -- does no
397 # exist, is out-of-date, or the 'force' flag is true) then