diff options
| author | Greg Ward <gward@python.net> | 1999-09-29 12:38:18 (GMT) |
|---|---|---|
| committer | Greg Ward <gward@python.net> | 1999-09-29 12:38:18 (GMT) |
| commit | e6ac2fcc125621d4dea4240b3b1e9572d8c8e0ab (patch) | |
| tree | bbed10dc95483f1af9a84877fe1421dde33b3cef /Lib/distutils/command/install.py | |
| parent | df178f97de0a03b40ee1cb0772d1546bf466dd26 (diff) | |
| download | cpython-e6ac2fcc125621d4dea4240b3b1e9572d8c8e0ab.zip cpython-e6ac2fcc125621d4dea4240b3b1e9572d8c8e0ab.tar.gz cpython-e6ac2fcc125621d4dea4240b3b1e9572d8c8e0ab.tar.bz2 | |
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.
Diffstat (limited to 'Lib/distutils/command/install.py')
| -rw-r--r-- | Lib/distutils/command/install.py | 16 |
1 files changed, 7 insertions, 9 deletions
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 @@ from distutils.util import write_file 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 @@ class Install (Command): # 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 @@ class Install (Command): def run (self): - self.set_final_options () - # Obviously have to build before we can install self.run_peer ('build') |
