forked from Spacehaven-modding-tools/spacehaven-modloader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
29 lines (23 loc) · 781 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
import sys
from cx_Freeze import setup, Executable
import version
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {
"packages": ["six", "pkg_resources._vendor", "sysconfig"],
"excludes": [],
'include_files' : ['textures_annotations.xml', ],
}
# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
APP = ['spacehaven-modloader.py']
DATA_FILES = [('spacehaven-modloader', ['textures_annotations.xml', ]), ]
OPTIONS = {}
setup(
name="spacehaven-modloader",
version=version.version,
options={"build_exe": build_exe_options},
executables=[Executable("spacehaven-modloader.py", base=base)],
)