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:
61d0610
)
fix exclusion comparison in cythonize()
author
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 29 Oct 2012 22:47:08 +0000
(23:47 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 29 Oct 2012 22:47:08 +0000
(23:47 +0100)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
e4871db
..
26e1e6b
100644
(file)
--- a/
Cython/Build/Dependencies.py
+++ b/
Cython/Build/Dependencies.py
@@
-44,9
+44,11
@@
def extended_iglob(pattern):
if '**/' in pattern:
seen = set()
first, rest = pattern.split('**/', 1)
- if first == '':
- first = '.'
- for root in glob(first + "/"):
+ if first:
+ first = glob(first+'/')
+ else:
+ first = ['']
+ for root in first:
for path in extended_iglob(join_path(root, rest)):
if path not in seen:
seen.add(path)