Commit cb55c11b authored by Robert Bradshaw's avatar Robert Bradshaw

Update docs about build_ext.

parent e562ca72
...@@ -57,7 +57,9 @@ Other changes ...@@ -57,7 +57,9 @@ Other changes
the current jupyter kernel. The language level can be set explicitly with the current jupyter kernel. The language level can be set explicitly with
"%%cython -2" or "%%cython -3". "%%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) 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 Implements a version of the Distutils 'build_ext' command, for
building Cython extension modules.""" building Cython extension modules."""
...@@ -23,8 +23,8 @@ except Exception: ...@@ -23,8 +23,8 @@ except Exception:
from_setuptools = False from_setuptools = False
if not from_setuptools: if not from_setuptools:
warnings.warn( warnings.warn(
"Cython.Distutils.build_ext does not properly handle dependencies " "Cython.Distutils.old_build_ext does not properly handle dependencies "
"and is deprectated. Use Cython.Build.build_ext instead.") "and is deprectated.")
try: try:
from __builtin__ import basestring from __builtin__ import basestring
...@@ -68,7 +68,7 @@ class Optimization(object): ...@@ -68,7 +68,7 @@ class Optimization(object):
optimization = Optimization() 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)" 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