Commit 0d8617a2 authored by Greg Ward's avatar Greg Ward

Catch CCompiler exceptions in 'setup()'.

parent e32934ef
...@@ -122,7 +122,8 @@ def setup (**attrs): ...@@ -122,7 +122,8 @@ def setup (**attrs):
except (DistutilsExecError, except (DistutilsExecError,
DistutilsFileError, DistutilsFileError,
DistutilsOptionError), msg: DistutilsOptionError,
CCompilerError), msg:
if DEBUG: if DEBUG:
raise raise
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment