Commit 92b91f9a authored by Stefan Behnel's avatar Stefan Behnel

properly support '**' pattern in file selection

parent 1762be1f
...@@ -5,8 +5,8 @@ import sys ...@@ -5,8 +5,8 @@ import sys
import glob import glob
from distutils.core import setup from distutils.core import setup
from Cython.Build import cythonize from Cython.Build.Dependencies import cythonize, extended_iglob
from Cython.Utils import find_root_package_dir, is_package_dir from Cython.Utils import is_package_dir
from Cython.Compiler import Options from Cython.Compiler import Options
try: try:
...@@ -60,7 +60,7 @@ def find_package_base(path): ...@@ -60,7 +60,7 @@ def find_package_base(path):
def cython_compile(path_pattern, options): def cython_compile(path_pattern, options):
pool = None pool = None
paths = map(os.path.abspath, glob.iglob(path_pattern)) paths = map(os.path.abspath, extended_iglob(path_pattern))
try: try:
for path in paths: for path in paths:
if options.build_inplace: if options.build_inplace:
......
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