Commit 37be5ca5 authored by Stefan Behnel's avatar Stefan Behnel

fix missing exception type in setup.py

parent ead06714
...@@ -201,7 +201,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan ...@@ -201,7 +201,7 @@ def compile_cython_modules(profile=False, compile_more=False, cython_with_refnan
def build_extension(self, ext, *args, **kargs): def build_extension(self, ext, *args, **kargs):
try: try:
build_ext_orig.build_extension(self, ext, *args, **kargs) build_ext_orig.build_extension(self, ext, *args, **kargs)
except StandardError: except Exception:
print("Compilation of '%s' failed" % ext.sources[0]) print("Compilation of '%s' failed" % ext.sources[0])
from Cython.Compiler.Main import compile from Cython.Compiler.Main import compile
from Cython import Utils from Cython import Utils
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment