diff options
author | Greg Ward <gward@python.net> | 2000-02-09 02:19:49 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-02-09 02:19:49 (GMT) |
commit | 324620015d0cd1616af5e1a5787b2b0c9d345fd3 (patch) | |
tree | 2b5c5875d62298ff139f75fc3c45591170c965eb | |
parent | 386b84439f268b62ce2bbf115554f5238a57cae2 (diff) | |
download | cpython-324620015d0cd1616af5e1a5787b2b0c9d345fd3.zip cpython-324620015d0cd1616af5e1a5787b2b0c9d345fd3.tar.gz cpython-324620015d0cd1616af5e1a5787b2b0c9d345fd3.tar.bz2 |
Added 'debug' option (just there for 'build_ext' and 'build_lib' commands
to fallback to if the user doesn't set it for those commands.
-rw-r--r-- | Lib/distutils/command/build.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index 768db12..82a4e6c 100644 --- a/Lib/distutils/command/build.py +++ b/Lib/distutils/command/build.py @@ -20,6 +20,8 @@ class Build (Command): "directory for platform-shared files"), ('build-platlib=', 'p', "directory for platform-specific files"), + ('debug', 'g', + "compile extensions and libraries with debugging information"), ] def set_default_options (self): @@ -28,6 +30,7 @@ class Build (Command): # (unless overridden by the user or client) self.build_lib = None self.build_platlib = None + self.debug = None def set_final_options (self): # 'build_lib' and 'build_platlib' just default to 'lib' and |