From f09ee925820f510d5498dfb27f99c6a7a928acfa Mon Sep 17 00:00:00 2001 From: LD Date: Mon, 6 Jan 2020 16:25:18 +0100 Subject: [PATCH] dist: glob pattern must be lowercase as it is compared to lowercase filenames Closes #832 --- direct/src/dist/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/dist/commands.py b/direct/src/dist/commands.py index cee22d62bf..a84d7f5fae 100644 --- a/direct/src/dist/commands.py +++ b/direct/src/dist/commands.py @@ -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)