-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstandalone_setup.py
More file actions
19 lines (16 loc) · 1018 Bytes
/
standalone_setup.py
File metadata and controls
19 lines (16 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import cx_Freeze
# Based on: https://stackoverflow.com/questions/29650935/cx-freeze-help-is-there-a-way-to-not-make-console-open
executables = [cx_Freeze.Executable("pyfighter.py", base = "Win32GUI", icon = "graphics/logo/logo.ico")]
# Run python setup.py bdist_msi
# Based on https://stackoverflow.com/questions/10527454/change-icon-for-a-cx-freeze-script
cx_Freeze.setup(
name="PyFighter",
version="1.0.0",
description="Pyfighter is an 8-bit side scrolling, infinite level platform game, produced in python using PyGame as part on an MSc by R. Soane, R. Danevicius, and S. Mistry. Inspired by super street fighter, super smash bros and Mario, they created a customisable and addictive game that gets progressively harder.",
author="R. Soane, R. Danevicius, S. Mistry",
options={
"build_exe": {"packages":["pygame"],
"include_files":["audio", "json", "other_data","graphics"]
}},
executables = executables
)