mirror of https://github.com/python/cpython.git
Catch CCompiler exceptions in 'setup()'.
This commit is contained in:
parent
3add77f611
commit
66ac93e6f7
|
@ -122,7 +122,8 @@ def setup (**attrs):
|
|||
|
||||
except (DistutilsExecError,
|
||||
DistutilsFileError,
|
||||
DistutilsOptionError), msg:
|
||||
DistutilsOptionError,
|
||||
CCompilerError), msg:
|
||||
if DEBUG:
|
||||
raise
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue