Exclude vcruntime140.dll from pyinstaller upx compressing

Can corrupt it, preventing building, e.g.:
https://github.com/pyinstaller/pyinstaller/issues/1565
https://github.com/pyinstaller/pyinstaller/issues/2659
https://github.com/zoffline/zwift-offline/pull/58
This commit is contained in:
zoffline
2020-05-31 17:37:01 -04:00
parent 25683afbe7
commit 03bf76b0e9

View File

@@ -29,5 +29,6 @@ exe = EXE(pyz,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude="vcruntime140.dll",
runtime_tmpdir=None,
console=True )