Browse Source

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

Closes #832
LD 6 years ago
parent
commit
f09ee92582
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/dist/commands.py

+ 1 - 1
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)