Add SystemError to errors from compilation
OSX generates a SystemError from a missing compiler; trap with other compilation errors.
This commit is contained in:
parent
3c66b6a588
commit
5347ae21bd
3
setup.py
3
setup.py
|
@ -42,7 +42,8 @@ if sys.platform == 'win32' and sys.version_info > (2, 6):
|
|||
build_errors = (CCompilerError, DistutilsExecError,
|
||||
DistutilsPlatformError, IOError)
|
||||
else:
|
||||
build_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError)
|
||||
build_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError,
|
||||
SystemError)
|
||||
|
||||
class custom_build_ext(build_ext):
|
||||
"""Allow C extension building to fail.
|
||||
|
|
Loading…
Reference in New Issue