Commit cb55c11b authored by Robert Bradshaw's avatar Robert Bradshaw

Update docs about build_ext.

parent e562ca72
......@@ -57,7 +57,9 @@ Other changes
the current jupyter kernel. The language level can be set explicitly with
"%%cython -2" or "%%cython -3".
* Usage of ``Cython.Distutils.build_ext`` is now discouraged.
* The distutils extension ``Cython.Distutils.build_ext`` has now been updated
to use cythonize which properly handles dependencies. The old extension can
still be found in ``Cython.Distutils.old_build_ext`` and is now deprecated.
0.24.1 (2016-07-15)
......
"""Cython.Distutils.build_ext
"""Cython.Distutils.old_build_ext
Implements a version of the Distutils 'build_ext' command, for
building Cython extension modules."""
......@@ -23,8 +23,8 @@ except Exception:
from_setuptools = False
if not from_setuptools:
warnings.warn(
"Cython.Distutils.build_ext does not properly handle dependencies "
"and is deprectated. Use Cython.Build.build_ext instead.")
"Cython.Distutils.old_build_ext does not properly handle dependencies "
"and is deprectated.")
try:
from __builtin__ import basestring
......@@ -68,7 +68,7 @@ class Optimization(object):
optimization = Optimization()
class build_ext(_build_ext.build_ext):
class old_build_ext(_build_ext.build_ext):
description = "build C/C++ and Cython extensions (compile/link to build directory)"
......
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