Renamed many options to be consistent across commands.
Tweaked some help strings to be consistent with documentation.
Don't call 'set_final_options()' in 'run()' anymore -- that's now
guaranteed to be taken care of for us by the Distribution instance.
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 0e4ad3f..cd12f6f 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -16,16 +16,16 @@
class Install (Command):
options = [('prefix=', None, "installation prefix"),
- ('execprefix=', None,
+ ('exec-prefix=', None,
"prefix for platform-specific files"),
# Build directories: where to install from
('build-base=', None,
"base build directory"),
('build-lib=', None,
- "build directory for non-platform-specific library files"),
+ "build directory for pure Python modules"),
('build-platlib=', None,
- "build directory for platform-specific library files"),
+ "build directory for extension modules"),
# Installation directories: where to put modules and packages
('install-lib=', None,
@@ -113,11 +113,11 @@
# to fix things.
# Figure out the build directories, ie. where to install from
- self.set_peer_option ('build', 'basedir', self.build_base)
+ self.set_peer_option ('build', 'build_base', self.build_base)
self.set_undefined_options ('build',
- ('basedir', 'build_base'),
- ('libdir', 'build_lib'),
- ('platdir', 'build_platlib'))
+ ('build_base', 'build_base'),
+ ('build_lib', 'build_lib'),
+ ('build_platlib', 'build_platlib'))
# Figure out actual installation directories; the basic principle
# is: if the user supplied nothing, then use the directories that
@@ -275,8 +275,6 @@
def run (self):
- self.set_final_options ()
-
# Obviously have to build before we can install
self.run_peer ('build')