-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
43 lines (38 loc) · 954 Bytes
/
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
import sys
from cx_Freeze import setup, Executable
# For .exe file conversion
build_exe_options = {
"packages": [
"customtkinter",
"cv2",
"datetime",
"matplotlib",
"numpy",
"PIL",
"qrcode",
"random",
"requests",
"sqlite3",
"string",
"tkcalendar",
"tkinter"
],
# Add any additional packages your script depends on
"include_files": [
("SQLite db", "SQLite db"),
("templates", "templates"),
("requirements.txt", "requirements.txt"),
("setup.txt", "setup.txt"),
],
}
base = None
if sys.platform == "win32":
base = "Win32GUI" # Use this option if you want to hide the console window
executables = [Executable("gym.py", base=base)]
setup(
name="D'Grit Gym",
version="0.1",
description="Capstone Project",
options={"build_exe": build_exe_options},
executables=executables,
)