summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_lib.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-02-18 00:25:39 (GMT)
committerGreg Ward <gward@python.net>2000-02-18 00:25:39 (GMT)
commitbbeceeaf9a5edf878154b17a6a94403a26822d51 (patch)
tree6089ebf12dbeb9ceeddecf33a7a7e231b5a6837a /Lib/distutils/command/install_lib.py
parent592f28272e1287e8cdb57fb1887c4782fa07281e (diff)
downloadcpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.zip
cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.gz
cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.bz2
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 e898ce0..6dfebfb 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):