mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Catch CCompiler exceptions in 'setup()'.
This commit is contained in:
parent
3add77f611
commit
66ac93e6f7
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ def setup (**attrs):
|
|||
|
||||
except (DistutilsExecError,
|
||||
DistutilsFileError,
|
||||
DistutilsOptionError), msg:
|
||||
DistutilsOptionError,
|
||||
CCompilerError), msg:
|
||||
if DEBUG:
|
||||
raise
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue