From f0bb65cb4ed4e29d5ed813185fe3e2861db9122d Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 7 Apr 2025 13:48:52 +0300 Subject: [PATCH] Bypass a cx-freeze issue for fitz._wxcolors Bypass an issue with `cx-freeze` that fails to include the `fitz._wxcolors` module in the final Windows artifact. Refs #1128 --- setup-windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-windows.py b/setup-windows.py index ac5331a..7252b58 100644 --- a/setup-windows.py +++ b/setup-windows.py @@ -13,7 +13,7 @@ setup( description="Dangerzone", options={ "build_exe": { - "packages": ["dangerzone", "dangerzone.gui"], + "packages": ["dangerzone", "dangerzone.gui", "pymupdf._wxcolors"], "excludes": ["test", "tkinter"], "include_files": [("share", "share"), ("LICENSE", "LICENSE")], "include_msvcr": True,