From: Matthew Brett Date: Tue, 8 Apr 2014 18:23:21 +0000 (-0700) Subject: Add SystemError to errors from compilation X-Git-Tag: v4.0.0b1~95^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1030%2Fhead;p=thirdparty%2Ftornado.git Add SystemError to errors from compilation OSX generates a SystemError from a missing compiler; trap with other compilation errors. --- diff --git a/setup.py b/setup.py index 44e2ed36e..0630987be 100644 --- a/setup.py +++ b/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.