Added 'debug' option (just there for 'build_ext' and 'build_lib' commands
authorGreg Ward <gward@python.net>
Wed, 9 Feb 2000 02:19:49 +0000 (02:19 +0000)
committerGreg Ward <gward@python.net>
Wed, 9 Feb 2000 02:19:49 +0000 (02:19 +0000)
to fallback to if the user doesn't set it for those commands.

Lib/distutils/command/build.py

index 768db120620442aaf444a8d123a35fca5db3bd2e..82a4e6c292f688a210c07a6b667f77cdc72a8a93 100644 (file)
@@ -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