-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 731 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 731 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
import sys
from cx_Freeze import Executable, setup
# Dependencies are automatically detected, but it might need fine tuning.
# base="Win32GUI" should be used only for Windows GUI app
base = "Win32GUI" if sys.platform == "win32" else None
setup(
version = '2.1',
name = "Organizer",
executables = [
Executable(
"install.py", base = base, target_name = 'Install', icon = 'Icon.ico', uac_admin = True
),
Executable(
"uninstall.py", base = base, target_name = 'Uninstall', icon = 'Icon.ico', uac_admin = True
),
Executable("organizer.py", base = base, target_name = 'Organizer', icon = 'Icon.ico'),
],
options = {
'build_exe': {
'include_files': ['Icon.ico', 'Master.ico'],
'silent_level': 1
},
}
)