mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-02 19:51:49 +02:00
Compare commits
3 commits
a95b9bf8bb
...
59e1666c28
Author | SHA1 | Date | |
---|---|---|---|
![]() |
59e1666c28 | ||
![]() |
95d7d8a4d9 | ||
![]() |
ed2791bbbc |
1 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,6 @@ 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",
|
||||||
|
@ -12,10 +11,13 @@ 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": {
|
||||||
"packages": packages,
|
# Explicitly specify pymupdf.util module to fix building the executables
|
||||||
|
# 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