Catch OSError as can arise when compiler doesn't exist on Windows.
This commit is contained in:
parent
aca7e88fef
commit
0102ba2729
2
setup.py
2
setup.py
|
@ -11,7 +11,7 @@ from distutils.errors import (CCompilerError, DistutilsExecError,
|
|||
|
||||
if sys.platform == 'win32':
|
||||
build_ext_errors = (CCompilerError, DistutilsExecError,
|
||||
DistutilsPlatformError, IOError)
|
||||
DistutilsPlatformError, IOError, OSError)
|
||||
else:
|
||||
build_ext_errors = (CCompilerError, DistutilsExecError,
|
||||
DistutilsPlatformError)
|
||||
|
|
Loading…
Reference in New Issue