projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63010b
)
fix abspath/relpath issues when excluding paths from cythonize() build
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 29 Sep 2013 11:44:25 +0000
(13:44 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 29 Sep 2013 11:44:25 +0000
(13:44 +0200)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
b44cb7d
..
13a320a
100644
(file)
--- a/
Cython/Build/Dependencies.py
+++ b/
Cython/Build/Dependencies.py
@@
-572,7
+572,7
@@
def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
if not isinstance(exclude, list):
exclude = [exclude]
for pattern in exclude:
- to_exclude.update(
extended_iglob(pattern
))
+ to_exclude.update(
map(os.path.abspath, extended_iglob(pattern)
))
module_list = []
for pattern in patterns:
if isinstance(pattern, str):
@@
-594,7
+594,7
@@
def create_extension_list(patterns, exclude=[], ctx=None, aliases=None, quiet=Fa
else:
raise TypeError(pattern)
for file in extended_iglob(filepattern):
- if
file
in to_exclude:
+ if
os.path.abspath(file)
in to_exclude:
continue
pkg = deps.package(file)
if '*' in name: