-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (31 loc) · 735 Bytes
/
setup.py
File metadata and controls
34 lines (31 loc) · 735 Bytes
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
32
33
34
"""
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": [
"email",
"gzip",
"tcl",
"tk",
"tkinter",
"unittest",
"xml",
"zipfile",
],
"includes": ["submodules"],
"include_files": [
("data/", "data/"),
],
"optimize": "2",
}
setup(
name="s2ui_inspector",
version="0.3.0",
description="UI Inspector for The Sims 2",
options={"build_exe": build_exe_options},
executables=[Executable("s2ui_inspector.py", base="gui", icon="data/icon")],
)