diff options
| author | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 +0000 |
|---|---|---|
| committer | Greg Ward <gward@python.net> | 2000-02-18 00:25:39 +0000 |
| commit | bbeceeaf9a5edf878154b17a6a94403a26822d51 (patch) | |
| tree | 6089ebf12dbeb9ceeddecf33a7a7e231b5a6837a /Lib/distutils/command/build_ext.py | |
| parent | 592f28272e1287e8cdb57fb1887c4782fa07281e (diff) | |
| download | cpython-git-bbeceeaf9a5edf878154b17a6a94403a26822d51.tar.gz | |
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 ea0e294a70..963abc2977 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): |
