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

setup.py

index 44e2ed36e3de5df54c90618f3aa2c0ef7dfdf22f..0630987be1ca5eb03bcf835322546e565e39c4ed 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.