diff options
author | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 +0000 |
commit | bbeceeaf9a5edf878154b17a6a94403a26822d51 (patch) | |
tree | 6089ebf12dbeb9ceeddecf33a7a7e231b5a6837a /Lib/distutils/command/install.py | |
parent | 592f28272e1287e8cdb57fb1887c4782fa07281e (diff) | |
download | cpython-git-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.gz |
Renamed all 'options' class attributes to 'user_options'.
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r-- | Lib/distutils/command/install.py | 73 |
1 files changed, 37 insertions, 36 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index b57ec6f2f1..798460b27a 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -16,42 +16,43 @@ class install (Command): description = "install everything from build directory" - options = [('prefix=', None, "installation prefix"), - ('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 pure Python modules"), - ('build-platlib=', None, - "build directory for extension modules"), - - # Installation directories: where to put modules and packages - ('install-lib=', None, - "base Python library directory"), - ('install-platlib=', None, - "platform-specific Python library directory"), - ('install-site-lib=', None, - "directory for site-specific packages and modules"), - ('install-site-platlib=', None, - "platform-specific site directory"), - ('install-scheme=', None, - "install to 'system' or 'site' library directory?"), - ('install-path=', None, - "extra intervening directories to put below install-lib"), - - # Where to install documentation (eventually!) - ('doc-format=', None, "format of documentation to generate"), - ('install-man=', None, "directory for Unix man pages"), - ('install-html=', None, "directory for HTML documentation"), - ('install-info=', None, "directory for GNU info files"), - - # Flags for 'build_py' - ('compile-py', None, "compile .py to .pyc"), - ('optimize-py', None, "compile .py to .pyo (optimized)"), - ] + user_options = [ + ('prefix=', None, "installation prefix"), + ('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 pure Python modules"), + ('build-platlib=', None, + "build directory for extension modules"), + + # Installation directories: where to put modules and packages + ('install-lib=', None, + "base Python library directory"), + ('install-platlib=', None, + "platform-specific Python library directory"), + ('install-site-lib=', None, + "directory for site-specific packages and modules"), + ('install-site-platlib=', None, + "platform-specific site directory"), + ('install-scheme=', None, + "install to 'system' or 'site' library directory?"), + ('install-path=', None, + "extra intervening directories to put below install-lib"), + + # Where to install documentation (eventually!) + ('doc-format=', None, "format of documentation to generate"), + ('install-man=', None, "directory for Unix man pages"), + ('install-html=', None, "directory for HTML documentation"), + ('install-info=', None, "directory for GNU info files"), + + # Flags for 'build_py' + ('compile-py', None, "compile .py to .pyc"), + ('optimize-py', None, "compile .py to .pyo (optimized)"), + ] def set_default_options (self): |