dist: glob pattern must be lowercase as it is compared to lowercase filenames

Closes #832
This commit is contained in:
LD 2020-01-06 16:25:18 +01:00 committed by rdb
parent bd5841781c
commit f09ee92582

View File

@ -835,7 +835,7 @@ class build_apps(setuptools.Command):
whlfile = self._get_zip_file(whl)
filenames = whlfile.namelist()
for source_pattern, target_dir, flags in datadesc:
srcglob = p3d.GlobPattern(source_pattern)
srcglob = p3d.GlobPattern(source_pattern.lower())
source_dir = os.path.dirname(source_pattern)
# Relocate the target dir to the build directory.
target_dir = target_dir.replace('/', os.sep)