Revert: "fix win build failure due to package autodiscovery"

This reverts commit 4d9f729654.

The error described in #178 doesen't happen anymore so this workaround is not needed.
This commit is contained in:
jkarasti 2024-10-28 21:09:45 +02:00 committed by Alex Pyrgiotis
parent c1cf16a705
commit ed2791bbbc
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -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,9 @@ 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, "packages": ["dangerzone", "dangerzone.gui"],
"excludes": ["test", "tkinter"], "excludes": ["test", "tkinter"],
"include_files": [("share", "share"), ("LICENSE", "LICENSE")], "include_files": [("share", "share"), ("LICENSE", "LICENSE")],
"include_msvcr": True, "include_msvcr": True,