-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudentsetup.py
49 lines (39 loc) · 1.03 KB
/
studentsetup.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
from cx_Freeze import*
import sys
includefiles =["iitp logo.ico"]
excludes = []
packages = []
base = None
if sys.platform == "win32":
base = "win32GUI"
shorcut_table =[
("DesktopShortcut", #Shortcut
"DesktopFolder", #Directory_
"studentmanagementsystem", #Name
"TARGETDIR", #component_
"[TARGETDIR]\studentmanagementsystem.exe", #Target
None, #Arguments
None, #Description
None, #Hotkey
None, #Icon
None, #IconIndex
None, #Showcmd
"TARGETDIR", #WkDir
)
]
msi_data = {"shortcut": shorcut_table}
bdist_msi_option = {"data": msi_data}
setup()(
version='0.1',
description='Student management system Devloped By Team 54',
author="Team 54",
name='Project',
options={'build_exe': {'include_files':includefiles},'bdist_msi':bdist_msi_option},
executables=[
Executable(
script="studentmanagementsystem.py",
base=base,
icon='iitp logo.ico',
)
]
)