mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-02 19:51:49 +02:00
Compare commits
1 commit
59e1666c28
...
a95b9bf8bb
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a95b9bf8bb |
1 changed files with 3 additions and 5 deletions
|
@ -4,6 +4,7 @@ from cx_Freeze import Executable, setup
|
||||||
with open("share/version.txt") as f:
|
with open("share/version.txt") as f:
|
||||||
version = f.read().strip()
|
version = f.read().strip()
|
||||||
|
|
||||||
|
packages = ["dangerzone", "dangerzone.gui"]
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="dangerzone",
|
name="dangerzone",
|
||||||
|
@ -11,13 +12,10 @@ setup(
|
||||||
# On Windows description will show as the app's name in the "Open With" menu. See:
|
# On Windows description will show as the app's name in the "Open With" menu. See:
|
||||||
# https://github.com/freedomofpress/dangerzone/issues/283#issuecomment-1365148805
|
# https://github.com/freedomofpress/dangerzone/issues/283#issuecomment-1365148805
|
||||||
description="Dangerzone",
|
description="Dangerzone",
|
||||||
|
packages=packages,
|
||||||
options={
|
options={
|
||||||
"build_exe": {
|
"build_exe": {
|
||||||
# Explicitly specify pymupdf.util module to fix building the executables
|
"packages": packages,
|
||||||
# with cx_freeze. See https://github.com/marcelotduarte/cx_Freeze/issues/2653
|
|
||||||
# for more details.
|
|
||||||
# TODO: Upgrade to cx_freeze 7.3.0 which should include a fix.
|
|
||||||
"packages": ["dangerzone", "dangerzone.gui", "pymupdf.utils"],
|
|
||||||
"excludes": ["test", "tkinter"],
|
"excludes": ["test", "tkinter"],
|
||||||
"include_files": [("share", "share"), ("LICENSE", "LICENSE")],
|
"include_files": [("share", "share"), ("LICENSE", "LICENSE")],
|
||||||
"include_msvcr": True,
|
"include_msvcr": True,
|
||||||
|
|
Loading…
Reference in a new issue