-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
27 lines (23 loc) · 1.22 KB
/
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
from cx_Freeze import setup, Executable
import sys
# Dependencies are automatically detected, but it might need
# fine tuning.
build_options = dict(packages = ['numpy', 'pygame', 'requests', 'xml', 'Tkinter'],
excludes = [],
include_files = ['Orbitron Medium.ttf', 'full Pack 2025.ttf', 'settingsManager.py',
'battle.py', 'main.py', 'musicManager.py', 'spriteManager.py',
'engine/', 'fighters/', 'menu/', 'music/', 'settings/', 'sfx/',
'builder/', 'sprites/', 'stages/', 'cacert.pem'])
base_b = None
if sys.platform == "win32":
base_b = "Win32GUI"
executables = [
Executable('main.py', base = base_b, targetName = 'TUSSLE.exe', icon='sprites/tussle.ico'),
Executable('updater.py', 'console', targetName = 'updater.exe', icon='sprites/downloader.ico'),
Executable('builderMain.py', base = base_b, targetName='LegacyEditor.exe', icon='sprites/editor.ico')
]
setup(name='TUSSLE',
version = '0.5',
description = 'The Universal Smash System and Legacy Editor',
options = dict(build_exe = build_options),
executables = executables)