]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Add SystemError to errors from compilation
authorMatthew Brett <matthew.brett@gmail.com>
Tue, 8 Apr 2014 18:23:21 +0000 (11:23 -0700)
committerBen Darnell <ben@bendarnell.com>
Tue, 6 May 2014 01:30:01 +0000 (21:30 -0400)
OSX generates a SystemError from a missing compiler; trap with other
compilation errors.

setup.py

index 11250532cf6ff0a4ff2512029345ecd70c062fbd..a9222f02136fe2eb3016f8bbd37b35809eae50f2 100644 (file)
--- 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.