-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
38 lines (30 loc) · 800 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
import sys
from cx_Freeze import Executable, setup
from src.main import VERSION_NUM
base = None
if sys.platform == "win32":
base = "Win32GUI"
executables = [
Executable(
"src/main.py",
copyright="Copyright (C) 2024 Bartlomiej Duda",
base=base,
icon="src/data/img/ea_icon.ico",
target_name="EA-Graphics-Manager-" + VERSION_NUM + ".exe",
)
]
build_exe_options: dict = {
"build_exe": "build_final/EA_Graphics_Manager",
"packages": [],
"includes": [],
"excludes": [],
"include_files": [],
}
options: dict = {"build_exe": build_exe_options}
setup(
name="EA-Graphics-Manager " + VERSION_NUM,
version=VERSION_NUM[1:],
description="Tool for managing EA graphics",
options=options,
executables=executables,
)