Commit de46545d authored by Mehdi Abaakouk's avatar Mehdi Abaakouk

Fix _have_cython

In 3c047624, we remove the loop, but we miss to convert the tuple
to a string. Because the exception is just ignored, we don't see
that __import__ won't works
parent 6a4e5446
......@@ -19,7 +19,7 @@ def _have_cython():
"""
Return True if Cython can be imported.
"""
cython_impl = 'Cython.Distutils.build_ext',
cython_impl = 'Cython.Distutils.build_ext'
try:
# from (cython_impl) import build_ext
__import__(cython_impl, fromlist=['build_ext']).build_ext
......
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