aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst3
-rw-r--r--setuptools/command/build_ext.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 5a526e8a..ef0a8a87 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -4,6 +4,9 @@ v38.5.0
* #1229: Expand imports in ``build_ext`` to refine detection of
Cython availability.
+* #1270: When Cython is available, ``build_ext`` now uses the
+ new_build_ext.
+
v38.4.1
-------
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')