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

These are needed to run the program on systems without the right CRT installed.
This commit is contained in:
rdb 2020-09-14 12:20:07 +02:00
parent 8e39072f6f
commit 36eed0d9c9
2 changed files with 2 additions and 2 deletions

View File

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

View File

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