-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (57 loc) · 1.38 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from cx_Freeze import setup, Executable
from EDNeutronAssistant import __version__
NAME = "EDNeutronAssistant"
shortcut_table = [
(
"DesktopShortcut",
"DesktopFolder",
NAME,
"TARGETDIR",
"[TARGETDIR]EDNeutronAssistant.exe",
None,
None,
None,
None,
None,
None,
'TARGETDIR'
),
(
"StartMenuShortcut",
"StartMenuFolder",
NAME,
"TARGETDIR",
"[TARGETDIR]EDNeutronAssistant.exe",
None,
None,
"logo.ico",
None,
None,
None,
'TARGETDIR'
)
]
setup(
name="EDNeutronAssistant",
version=__version__[1:],
options={
"build_exe": {
"packages": ["os", "sys", "time", "requests", "urllib.parse", "tkinter", "tkinter.ttk", "clipboard", "json",
"threading", "tkinter.messagebox", "webbrowser", "io", "base64", "gzip"],
"include_files": ["logo.ico", "themes"],
"include_msvcr": True
},
"bdist_msi": {
"install_icon": "logo.ico",
"target_name": "EDNeutronAssistant_Installer.msi",
"data": {"Shortcut": shortcut_table}
}
},
executables=[
Executable(
"EDNeutronAssistant.py",
base="Win32GUI",
icon="logo.ico",
)
]
)