summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_py.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/install_py.py')
-rw-r--r--Lib/distutils/command/install_py.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/distutils/command/install_py.py b/Lib/distutils/command/install_py.py
index e898ce0..6dfebfb 100644
--- a/Lib/distutils/command/install_py.py
+++ b/Lib/distutils/command/install_py.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):