-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
42 lines (35 loc) · 811 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
import sys
from cx_Freeze import Executable, setup
from euddraft import version
if "build_exe" not in sys.argv:
sys.argv.append("build_exe")
build_exe_options = {
"packages": [
"os",
"ctypes",
"sys",
"importlib",
"json",
"eudplib",
"openpyxl",
],
"excludes": ["tkinter"],
"optimize": 2,
"include_msvcr": True,
"include_files": [
"libepScriptLib.dll",
"license.txt",
"plugins",
"lib",
"epTrace.exe",
],
"zip_include_packages": "*",
"zip_exclude_packages": "",
}
setup(
name="euddraft",
version=version,
description="euddraft compilication system",
options={"build_exe": build_exe_options},
executables=[Executable("euddraft.py", base="Console")],
)