summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/install_lib.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-02-18 00:25:39 +0000
committerGreg Ward <gward@python.net>2000-02-18 00:25:39 +0000
commitd254b01189d87f8bb72fe7ba33acf3b93837a6af (patch)
tree5b41a5153b3511df3031e941a5bcac082ec31fcd /Lib/distutils/command/install_lib.py
parent25da83ec6b28ca28a04da600fa27e71fa1b4793b (diff)
downloadcpython-d254b01189d87f8bb72fe7ba33acf3b93837a6af.tar.gz
Renamed all 'options' class attributes to 'user_options'.
Diffstat (limited to 'Lib/distutils/command/install_lib.py')
-rw-r--r--Lib/distutils/command/install_lib.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py
index e898ce0c18..6dfebfbe0d 100644
--- a/Lib/distutils/command/install_lib.py
+++ b/Lib/distutils/command/install_lib.py
@@ -10,11 +10,12 @@ class install_py (Command):
description = "install pure Python modules"
- options = [('install-dir=', 'd', "directory to install to"),
- ('build-dir=','b', "build directory (where to install from)"),
- ('compile', 'c', "compile .py to .pyc"),
- ('optimize', 'o', "compile .py to .pyo (optimized)"),
- ]
+ user_options = [
+ ('install-dir=', 'd', "directory to install to"),
+ ('build-dir=','b', "build directory (where to install from)"),
+ ('compile', 'c', "compile .py to .pyc"),
+ ('optimize', 'o', "compile .py to .pyo (optimized)"),
+ ]
def set_default_options (self):