Browse Source

dist: don't exclude api-ms-win-crt-*.dll libraries

These are needed to run the program on systems without the right CRT installed.
rdb 5 years ago
parent
commit
36eed0d9c9
2 changed files with 2 additions and 2 deletions
  1. 1 2
      direct/src/dist/commands.py
  2. 1 0
      doc/ReleaseNotes

+ 1 - 2
direct/src/dist/commands.py

@@ -1098,8 +1098,7 @@ class build_apps(setuptools.Command):
             pe = pefile.PEFile()
             pe.read(fp)
             for lib in pe.imports:
-                if not lib.lower().startswith('api-ms-win-'):
-                    deps.append(lib)
+                deps.append(lib)
 
         elif magic == b'\x7FELF':
             # Elf magic.  Used on (among others) Linux and FreeBSD.

+ 1 - 0
doc/ReleaseNotes

@@ -52,6 +52,7 @@ Deployment
 * Fix libffi-7.dll not being included in official wheels
 * PYTHONINSPECT mechanism is no longer enabled when building with optimizations
 * A few unnecessary warning messages are squelched
+* Windows builds now include previously missing CRT dlls
 
 API
 * Add pickle support to Datagram class