From: Matthew Brett Date: Tue, 8 Apr 2014 18:23:21 +0000 (-0700) Subject: Add SystemError to errors from compilation X-Git-Tag: v3.2.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f33de047051ea819d13b5c4a08752484b7146fd;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 11250532c..a9222f021 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.