Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
cb55c11b
Commit
cb55c11b
authored
Sep 07, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs about build_ext.
parent
e562ca72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
CHANGES.rst
CHANGES.rst
+3
-1
Cython/Distutils/old_build_ext.py
Cython/Distutils/old_build_ext.py
+4
-4
No files found.
CHANGES.rst
View file @
cb55c11b
...
@@ -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/old_build_ext.py
View file @
cb55c11b
"""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)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment