diff options
author | Greg Ward <gward@python.net> | 2000-09-13 01:02:25 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-13 01:02:25 (GMT) |
commit | 3a0310a328384180b07547091dea5be477a06177 (patch) | |
tree | 901d77b6696900b7ecb5764cefa1d283e257af36 /Lib/distutils/command/install.py | |
parent | 1830b2118676679813aedf211f6b967bb3fe4396 (diff) | |
download | cpython-3a0310a328384180b07547091dea5be477a06177.zip cpython-3a0310a328384180b07547091dea5be477a06177.tar.gz cpython-3a0310a328384180b07547091dea5be477a06177.tar.bz2 |
Added --force (-f) option to force installation (including bytecode
compilation).
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r-- | Lib/distutils/command/install.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 2cb7871..2332770 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -85,8 +85,9 @@ class install (Command): ('install-data=', None, "installation directory for data files"), - # For lazy debuggers who just want to test the install - # commands without rerunning "build" all the time + # Miscellaneous control options + ('force', 'f', + "force installation (overwrite any existing files)"), ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), @@ -146,6 +147,7 @@ class install (Command): self.extra_path = None self.install_path_file = 0 + self.force = 0 self.skip_build = 0 # These are only here as a conduit from the 'build' command to the |