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
This commit is contained in:
Alex Pyrgiotis 2025-04-07 13:48:52 +03:00
parent 0c741359cc
commit f0bb65cb4e
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -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,