diff options
author | Greg Ward <gward@python.net> | 2000-06-01 00:40:25 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-01 00:40:25 (GMT) |
commit | 01a4694dce866bfa1162e6a918be6cfbe916559d (patch) | |
tree | 6d568199a4f260d201ec529c47addec97096521d /Lib/distutils/cmd.py | |
parent | 69413da74993ff6728b72be4b4290fc705e9cbc1 (diff) | |
download | cpython-01a4694dce866bfa1162e6a918be6cfbe916559d.zip cpython-01a4694dce866bfa1162e6a918be6cfbe916559d.tar.gz cpython-01a4694dce866bfa1162e6a918be6cfbe916559d.tar.bz2 |
More tweaking to make this command act like other Distutils commands:
* added "--bdist-base" option to parameterize where we build
the RPM (comes from "bdist" by default: "build/bdist.<plat>")
* simplified/cleaned up some code in 'run()' in the process of
removing (most) hard-coded directory names
* if "--spec-only", drop spec file in "dist" rather than "redhat"
(directory name still hard-coded, though)
* use 'reinitialize_command()' to fetch the "sdist" object to
tweak before running "sdist" command
* use 'self.copy_file()' method rather than 'copy_file()' function
* cosmetic tweaks to comments, error messages
Diffstat (limited to 'Lib/distutils/cmd.py')
0 files changed, 0 insertions, 0 deletions