-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (38 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import sys
from cx_Freeze import setup, Executable
from source import __appname__, __str_version__, __author__, __mail__, __description__, __icon_ico__
# Win32GUI should be used only for Windows GUI app
base = "Win32GUI" if sys.platform == "win32" else None
setup(
name=__appname__,
version=__str_version__,
description=__description__,
author=__author__,
author_email=__mail__,
url='',
license='',
options={
"build_exe": {
"include_msvcr": True,
"include_files": [
("./tools/", "./tools/"),
("./assets/", "./assets/"),
("./README.md", "./README.md"),
]
}
},
executables=[
Executable(
"main.py",
base=base,
target_name=__appname__,
icon=__icon_ico__
),
Executable(
"tools/web_replay/main.py",
base=base,
target_name="tools/web_replay/main",
icon=__icon_ico__
),
]
)