diff options
author | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 (GMT) |
commit | bbeceeaf9a5edf878154b17a6a94403a26822d51 (patch) | |
tree | 6089ebf12dbeb9ceeddecf33a7a7e231b5a6837a /Lib/distutils/command/build_ext.py | |
parent | 592f28272e1287e8cdb57fb1887c4782fa07281e (diff) | |
download | cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.zip cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.gz cpython-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.bz2 |
Renamed all 'options' class attributes to 'user_options'.
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index ea0e294..963abc2 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -42,25 +42,26 @@ class build_ext (Command): # takes care of both command-line and client options # in between set_default_options() and set_final_options()) - options = [('build-dir=', 'd', - "directory for compiled extension modules"), - ('include-dirs=', 'I', - "list of directories to search for header files"), - ('define=', 'D', - "C preprocessor macros to define"), - ('undef=', 'U', - "C preprocessor macros to undefine"), - ('libs=', 'l', - "external C libraries to link with"), - ('library-dirs=', 'L', - "directories to search for external C libraries"), - ('rpath=', 'R', - "directories to search for shared C libraries at runtime"), - ('link-objects=', 'O', - "extra explicit link objects to include in the link"), - ('debug', 'g', - "compile/link with debugging information"), - ] + user_options = [ + ('build-dir=', 'd', + "directory for compiled extension modules"), + ('include-dirs=', 'I', + "list of directories to search for header files"), + ('define=', 'D', + "C preprocessor macros to define"), + ('undef=', 'U', + "C preprocessor macros to undefine"), + ('libs=', 'l', + "external C libraries to link with"), + ('library-dirs=', 'L', + "directories to search for external C libraries"), + ('rpath=', 'R', + "directories to search for shared C libraries at runtime"), + ('link-objects=', 'O', + "extra explicit link objects to include in the link"), + ('debug', 'g', + "compile/link with debugging information"), + ] def set_default_options (self): |