From: Greg Ward Date: Wed, 9 Feb 2000 02:19:49 +0000 (+0000) Subject: Added 'debug' option (just there for 'build_ext' and 'build_lib' commands X-Git-Tag: v1.6a1~475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=324620015d0cd1616af5e1a5787b2b0c9d345fd3;p=python 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. --- diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index 768db12062..82a4e6c292 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