Commit 3c047624 authored by Jason R. Coombs's avatar Jason R. Coombs

Remove loop, made unnecessary by removal of support for Pyrex

parent 8c428b55
......@@ -16,8 +16,7 @@ def _have_cython():
"""
Return True if Cython can be imported.
"""
cython_impls = 'Cython.Distutils.build_ext',
for cython_impl in cython_impls:
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