-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 775 Bytes
/
setup.py
File metadata and controls
34 lines (30 loc) · 775 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
29
30
31
32
33
34
import sys, os
from cx_Freeze import setup, Executable
os.environ["TCL_LIBRARY"] = "<path/to/your/python_directory>/tcl/tcl8.6"
os.environ["TK_LIBRARY"] = "<path/to/your/python_directory>/tcl/tk8.6"
base = None
include_files = [
"./assets",
"<path/to/your/python_directory>/DLLs/tcl86t.dll",
"<path/to/your/python_directory>/DLLs/tk86t.dll"
]
if sys.platform == "win32":
base = "Win32GUI"
setup(
name="KrypApp",
version="1.4",
description="File Encryption App",
options={
"build_exe": {
"include_files": include_files
}
},
executables=[
Executable(
"KrypApp.py",
base=base,
targetName="KrypApp.exe",
icon="./assets/icon.ico"
)
]
)