]> granicus.if.org Git - python/commit
Factored '_set_command_options()' out of 'get_command_obj()'.
authorGreg Ward <gward@python.net>
Sun, 28 May 2000 23:53:06 +0000 (23:53 +0000)
committerGreg Ward <gward@python.net>
Sun, 28 May 2000 23:53:06 +0000 (23:53 +0000)
commitc32d9a69527af6d2823650ea7674e207c975f090
treefc7bce7e6255fce0b7a9794625522117cf624dd4
parent2129032bc6a17040d5652b14d8c8bb6c80fc3857
Factored '_set_command_options()' out of 'get_command_obj()'.
Added 'reinitialize_command()' -- lets us "push" option values in
  a controlled, safe way; this is a small change to the code, but
  a big change to the Distutils philosophy of passing option values
  around.  The preferred mode is still definitely to "pull" options
  from another command (eg. "install" fetches the base build directory
  from "build"), but it is now feasible to "push" options onto another
  command, when you know what's best for it.  One possible application
  will be a "config" command, which pokes around the system and pushes
  values (eg. include and library directories) onto the "build" command.
Added 'dump_option_dicts()' method (for debugging output).
Lib/distutils/dist.py