Commit 0cb7fa26 authored by Jason R. Coombs's avatar Jason R. Coombs

Applying patch provided by Didrik Pinte on #195 for Cython build_ext support

--HG--
branch : distribute
extra : rebase_source : 69be8a07f86d1fbbdace2b7965a2c4a6cc5a14bf
parent 8bf1bc0e
......@@ -3,8 +3,16 @@ from setuptools.dist import _get_unpatched
_Extension = _get_unpatched(_Extension)
try:
from Pyrex.Distutils.build_ext import build_ext
# testing Cython first as it is supposed to replace pyrex
from Cython.Distutils.build_ext import build_ext
except ImportError:
try:
from Pyrex.Distutils.build_ext import build_ext
except:
have_pyrex = False
else:
has_pyrex = True
have_pyrex = False
else:
have_pyrex = True
......
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