Commit 1b76165a authored by Stefan Behnel's avatar Stefan Behnel

fix exclusion comparison in cythonize()

parent 61d06109
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment