-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
34 lines (30 loc) · 778 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
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="endcrypt",
version="1.4",
description="File Encryption App",
options={
"build_exe": {
"include_files": include_files
}
},
executables=[
Executable(
"endcrypt.py",
base=base,
targetName="endcrypt.exe",
icon="./assets/icon.ico"
)
]
)