-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathsetup.py
26 lines (23 loc) · 1.01 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
import sys
from cx_Freeze import setup, Executable
build_exe_options = {"packages": ["PyPDF2", "pdfkit", "email"],
"excludes": ["tkinter"],
"include_files": ["images/background.png",
"images/favicon.png",
"images/favicon.ico",
"certificate_back.html",
"certificate_front.html",
"certificate_resp.html"
],
}
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "Certifica!",
version = "1.0.0",
options = {"build_exe": build_exe_options},
executables = [Executable("app.py",
base=base,
icon="images/favicon.ico",
shortcutName="Certifica!",
shortcutDir="DesktopFolder",)])