diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-02-04 16:38:33 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-02-04 16:38:33 -0500 |
commit | 038baa16016503708cf3bddcaf2f9b8d541c17bc (patch) | |
tree | f44046b2a13b329dda52f63de35f3e85c65f385f /setuptools/command | |
parent | ca71bc26f65f1eac9f26b5e5b0d7b4109186fe59 (diff) | |
download | external_python_setuptools-038baa16016503708cf3bddcaf2f9b8d541c17bc.tar.gz external_python_setuptools-038baa16016503708cf3bddcaf2f9b8d541c17bc.tar.bz2 external_python_setuptools-038baa16016503708cf3bddcaf2f9b8d541c17bc.zip |
Prefer new_build_ext for Cython builds as recommended by Cython project. Fixes #1270.
Diffstat (limited to 'setuptools/command')
-rw-r--r-- | setuptools/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index ea97b37b..01d65f59 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -14,7 +14,7 @@ from setuptools.extern import six try: # Attempt to use Cython for building extensions, if available - from Cython.Distutils.build_ext import build_ext as _build_ext + from Cython.Distutils.build_ext import new_build_ext as _build_ext # Additionally, assert that the compiler module will load # also. Ref #1229. __import__('Cython.Compiler.Main') |