Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
038baa16
Commit
038baa16
authored
Feb 04, 2018
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer new_build_ext for Cython builds as recommended by Cython project. Fixes #1270.
parent
ca71bc26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGES.rst
CHANGES.rst
+3
-0
setuptools/command/build_ext.py
setuptools/command/build_ext.py
+1
-1
No files found.
CHANGES.rst
View file @
038baa16
...
...
@@ -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
-------
...
...
setuptools/command/build_ext.py
View file @
038baa16
...
...
@@ -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'
)
...
...
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