mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
don't use strip on windows. fixes #229
This commit is contained in:
@@ -93,7 +93,8 @@ exe = EXE(pyz,
|
|||||||
# codesign_identity = None,
|
# codesign_identity = None,
|
||||||
# entitlements_file = None,
|
# entitlements_file = None,
|
||||||
# contents_directory = "_internal",
|
# 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 = shutil.which("upx") is not None,
|
||||||
upx_exclude = [],
|
upx_exclude = [],
|
||||||
runtime_tmpdir = None,
|
runtime_tmpdir = None,
|
||||||
|
|||||||
Reference in New Issue
Block a user