-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Elias
authored and
Elias
committed
Feb 22, 2024
1 parent
28492a1
commit 7e02a5a
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ dumpster/ | |
*.bat | ||
.vscode/ | ||
demo | ||
build | ||
dist_exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import sys | ||
from cx_Freeze import setup, Executable | ||
from src.rosinenpicker.start import __version__ | ||
|
||
# Dependencies are automatically detected, but it might need fine tuning. | ||
build_exe_options = { | ||
"excludes": ["pdfs/", "configs/", "testconfigs/", ".github/", "helper/", "dumpster/", "*.bat", "test"], | ||
} | ||
|
||
# base="Win32GUI" should be used only for Windows GUI app | ||
base = "Win32GUI" if sys.platform == "win32" else None | ||
|
||
setup( | ||
name="rosinenpicker", | ||
version=__version__, | ||
description="A package for picking the juciest text morsels out of a pile of documents.", | ||
options={"build_exe": build_exe_options}, | ||
executables=[Executable("src/rosinenpicker/start.py", base=base)], | ||
) | ||
|