-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
31 lines (28 loc) · 1.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
For creating an application build using cx_Freeze.
For maintainer use only.
It is not needed to run the patcher from the repository.
"""
from cx_Freeze import Executable, setup
build_exe_options = {
"build_exe": "dist",
"excludes": ["unittest"],
"includes": ["sims2patcher"],
"include_files": [
("assets/[email protected]", "assets/[email protected]"),
("assets/icon.ico", "assets/icon.ico"),
("assets/[email protected]", "assets/[email protected]"),
("assets/[email protected]", "assets/[email protected]"),
("assets/[email protected]", "assets/[email protected]"),
("assets/[email protected]", "assets/[email protected]"),
("assets/[email protected]", "assets/[email protected]"),
],
"optimize": "2",
}
setup(
name="sims2_4k_ui_patcher",
version="0.2.0",
description="4K UI Patcher for The Sims 2",
options={"build_exe": build_exe_options},
executables=[Executable("sims2_4k_ui_patcher.py", base="gui", icon="assets/icon")],
)