]> granicus.if.org Git - python/commit
More tweaking to make this command act like other Distutils commands:
authorGreg Ward <gward@python.net>
Thu, 1 Jun 2000 00:40:25 +0000 (00:40 +0000)
committerGreg Ward <gward@python.net>
Thu, 1 Jun 2000 00:40:25 +0000 (00:40 +0000)
commit01a4694dce866bfa1162e6a918be6cfbe916559d
tree6d568199a4f260d201ec529c47addec97096521d
parent69413da74993ff6728b72be4b4290fc705e9cbc1
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
Lib/distutils/command/bdist_rpm.py