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
895300c6
Commit
895300c6
authored
Feb 26, 2014
by
Martin Quarda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recompiles source even only .pxd file change (if exist)
parent
c96ff78f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Cython/Distutils/build_ext.py
Cython/Distutils/build_ext.py
+2
-0
No files found.
Cython/Distutils/build_ext.py
View file @
895300c6
...
@@ -291,6 +291,8 @@ class build_ext(_build_ext.build_ext):
...
@@ -291,6 +291,8 @@ class build_ext(_build_ext.build_ext):
for
source
in
cython_sources
:
for
source
in
cython_sources
:
target
=
cython_targets
[
source
]
target
=
cython_targets
[
source
]
depends
=
[
source
]
+
list
(
extension
.
depends
or
())
depends
=
[
source
]
+
list
(
extension
.
depends
or
())
if
(
source
[
-
4
:].
lower
()
==
".pyx"
and
os
.
path
.
isfile
(
source
[:
-
3
]
+
"pxd"
)):
depends
+=
[
source
[:
-
3
]
+
"pxd"
]
rebuild
=
self
.
force
or
newer_group
(
depends
,
target
,
'newer'
)
rebuild
=
self
.
force
or
newer_group
(
depends
,
target
,
'newer'
)
if
not
rebuild
and
newest_dependency
is
not
None
:
if
not
rebuild
and
newest_dependency
is
not
None
:
rebuild
=
newer
(
newest_dependency
,
target
)
rebuild
=
newer
(
newest_dependency
,
target
)
...
...
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