don't use strip on windows. fixes #229

This commit is contained in:
sebthom
2024-01-12 11:35:30 +01:00
parent 9d1ecb2882
commit 8389123c61

View File

@@ -93,7 +93,8 @@ exe = EXE(pyz,
# codesign_identity = None,
# entitlements_file = None,
# contents_directory = "_internal",
strip = shutil.which("strip") is not None,
# using strip on windows results in "ImportError: Can't connect to HTTPS URL because the SSL module is not available."
strip = not platform.startswith("win") and shutil.which("strip") is not None,
upx = shutil.which("upx") is not None,
upx_exclude = [],
runtime_tmpdir = None,