diff options
| author | Mehdi Abaakouk <sileht@sileht.net> | 2016-08-02 12:13:41 +0200 |
|---|---|---|
| committer | Mehdi Abaakouk <sileht@sileht.net> | 2016-08-03 11:38:09 +0200 |
| commit | de46545db087dc81ea24d2a8695f8fe6ff6a0c78 (patch) | |
| tree | 0fcca2a3a5d79a7b209a6252b5bf0488112b79f2 | |
| parent | 6a4e5446c941291ec5e7c56cee1d5a872300c955 (diff) | |
| download | python-setuptools-git-de46545db087dc81ea24d2a8695f8fe6ff6a0c78.tar.gz | |
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
| -rw-r--r-- | setuptools/extension.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/extension.py b/setuptools/extension.py index 5ea72c06..6b9c19f8 100644 --- a/setuptools/extension.py +++ b/setuptools/extension.py @@ -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 |
