From: Stefan Behnel Date: Sun, 11 Aug 2013 15:20:13 +0000 (+0200) Subject: properly support '**' pattern in file selection X-Git-Tag: 0.20b1~376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92b91f9a1354f1b91817f70130afd3da42aea27c;p=platform%2Fupstream%2Fpython-cython.git properly support '**' pattern in file selection --- diff --git a/Cython/Build/Cythonize.py b/Cython/Build/Cythonize.py index 22da438..da53a60 100644 --- a/Cython/Build/Cythonize.py +++ b/Cython/Build/Cythonize.py @@ -5,8 +5,8 @@ import sys import glob from distutils.core import setup -from Cython.Build import cythonize -from Cython.Utils import find_root_package_dir, is_package_dir +from Cython.Build.Dependencies import cythonize, extended_iglob +from Cython.Utils import is_package_dir from Cython.Compiler import Options try: @@ -60,7 +60,7 @@ def find_package_base(path): def cython_compile(path_pattern, options): pool = None - paths = map(os.path.abspath, glob.iglob(path_pattern)) + paths = map(os.path.abspath, extended_iglob(path_pattern)) try: for path in paths: if options.build_inplace: