mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Added --force (-f) option to force installation (including bytecode
compilation).
This commit is contained in:
parent
1830b21186
commit
3a0310a328
5 changed files with 20 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue