mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +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,
|
except (DistutilsExecError,
|
||||||
DistutilsFileError,
|
DistutilsFileError,
|
||||||
DistutilsOptionError), msg:
|
DistutilsOptionError,
|
||||||
|
CCompilerError), msg:
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue