forked from Dinsmoor/hamChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (19 loc) · 659 Bytes
/
Copy pathsetup.py
File metadata and controls
22 lines (19 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from cx_Freeze import setup, Executable
import sys
# Dependencies are automatically detected, but it might need fine-tuning.
build_exe_options = {
"packages": ["os", "tkinter", "socket", "threading"],
"excludes": ["tkinter.test", "unittest", "email", "html", "http", "xml"],
"include_files": ["plugins"] # Add any additional files you need to include
}
# Base is set to "Win32GUI" for Windows GUI applications
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(
name="hamChat",
version="0.1",
description="hamChat",
options={"build_exe": build_exe_options},
executables=[Executable("main.py", base=base)]
)