-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (23 loc) · 998 Bytes
/
setup.py
File metadata and controls
27 lines (23 loc) · 998 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
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
# "packages": ["os"] is used as example only
build_exe_options = {"packages": ["os"],
"excludes": ["tkinter", "sqlite3",
"scipy.lib.lapack.flapack", "PyQt4",
"numpy.core._dotblas",
"numpy", "matplotlib", "PyTorch"],
"include_files": ["BDSP.png", "Resources"],
"includes": ["Randomizers"],
"optimize": 2}
# base="Win32GUI" should be used only for Windows GUI app
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(
name = "BDSP Randomizers",
version = "1.0",
description = "A randomizer for Brilliant Diamond/Shining Pearl!",
options = {"build_exe": build_exe_options},
executables = [Executable("main.py", base=base, icon="RandomizerIcon.png")]
)