forked from Jonathon-Doran/OpenNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (19 loc) · 661 Bytes
/
setup.py
File metadata and controls
23 lines (19 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import sys
from cx_Freeze import setup, Executable
build_exe_options = {
"build_exe": "dist",
"include_files": ["Styles", "Assets", "PluginWidgets", "Saves"],
}
# base="Win32GUI" should be used only for Windows GUI app
base = "Win32GUI" if sys.platform == "win32" else None
setup(
name="OpenNote",
version="1",
description="An open source, extensible, cross-platform note-taking application",
options={"build_exe": build_exe_options},
executables=[Executable("main.py",
base=base,
target_name="OpenNote",
icon="./Assets/icons/OpenNoteLogo.ico"
)],
)