We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0c927 commit 3799083Copy full SHA for 3799083
setup.py
@@ -33,14 +33,11 @@
33
# print('recipes is', recipes)
34
# data_files = recipes.items()
35
36
-def recursively_include(results, directory, allowed_exts):
+def recursively_include(results, directory, patterns):
37
for root, subfolders, files in walk(directory):
38
for fn in files:
39
- if not any([glob.fnmatch.fnmatch(fn, pattern) for pattern in allowed_exts]):
+ if not any([glob.fnmatch.fnmatch(fn, pattern) for pattern in patterns]):
40
continue
41
- # ext = fn.split('.')[-1].lower()
42
- # if ext not in allowed_exts:
43
- # continue
44
filename = join(root, fn)
45
directory = root
46
if directory not in results:
0 commit comments