-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Even though glob supports it, glob support for recursive ** searching is not enabled when specifying package_data. This is not clear in the documentation.
setuptools/setuptools/command/build_py.py
Line 106 in a94ccbf
| globs_expanded = map(glob, patterns) |
This means that only single * searches in a specific directory are supported. By changing the glob function to support recursive, this would allow us to specify ** patterns to a directory instead of having to specify every sub-directory in the structure.
Reference:
https://github.com/python/cpython/blob/master/Lib/glob.py#L18
Reactions are currently unavailable