summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r--Lib/distutils/command/install.py6
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