summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/cmd.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-28 23:53:06 (GMT)
committerGreg Ward <gward@python.net>2000-05-28 23:53:06 (GMT)
commitc32d9a69527af6d2823650ea7674e207c975f090 (patch)
treefc7bce7e6255fce0b7a9794625522117cf624dd4 /Lib/distutils/cmd.py
parent2129032bc6a17040d5652b14d8c8bb6c80fc3857 (diff)
downloadcpython-c32d9a69527af6d2823650ea7674e207c975f090.zip
cpython-c32d9a69527af6d2823650ea7674e207c975f090.tar.gz
cpython-c32d9a69527af6d2823650ea7674e207c975f090.tar.bz2
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).
Diffstat (limited to 'Lib/distutils/cmd.py')
0 files changed, 0 insertions, 0 deletions