aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/command/install_ext.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
commitbbeceeaf9a5edf878154b17a6a94403a26822d51 (patch)
tree6089ebf12dbeb9ceeddecf33a7a7e231b5a6837a /Lib/distutils/command/install_ext.py
parent592f28272e1287e8cdb57fb1887c4782fa07281e (diff)
downloadcpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.gz
cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.zip
Renamed all 'options' class attributes to 'user_options'.
Diffstat (limited to 'Lib/distutils/command/install_ext.py')
-rw-r--r--Lib/distutils/command/install_ext.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/distutils/command/install_ext.py b/Lib/distutils/command/install_ext.py
index ba343d2e42f..016a514e1ec 100644
--- a/Lib/distutils/command/install_ext.py
+++ b/Lib/distutils/command/install_ext.py
@@ -13,9 +13,10 @@ class install_ext (Command):
description = "install C/C++ extension modules"
- options = [('install-dir=', 'd', "directory to install to"),
- ('build-dir=','b', "build directory (where to install from)"),
- ]
+ user_options = [
+ ('install-dir=', 'd', "directory to install to"),
+ ('build-dir=','b', "build directory (where to install from)"),
+ ]
def set_default_options (self):
# let the 'install' command dictate our installation directory