From 66ac93e6f7fbb1c9ac9b8e4e33bee4263976ec69 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Tue, 30 May 2000 02:04:29 +0000 Subject: Catch CCompiler exceptions in 'setup()'. --- Lib/distutils/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index cd0f8e9..15a8814 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -122,7 +122,8 @@ def setup (**attrs): except (DistutilsExecError, DistutilsFileError, - DistutilsOptionError), msg: + DistutilsOptionError, + CCompilerError), msg: if DEBUG: raise else: -- cgit v0.12