chore: create build script for release
This commit is contained in:
32
build.py
Normal file
32
build.py
Normal file
@@ -0,0 +1,32 @@
|
||||
import cx_Freeze
|
||||
|
||||
executables = [cx_Freeze.Executable("main.py", base=None)]
|
||||
|
||||
cx_Freeze.setup(
|
||||
name="Tetris",
|
||||
options={
|
||||
"build_exe": {
|
||||
"packages": [
|
||||
"pygame",
|
||||
"typing",
|
||||
"copy",
|
||||
"yaml",
|
||||
"random",
|
||||
"sys",
|
||||
"entity.Entity",
|
||||
"entity.Piece",
|
||||
"entity.Stack",
|
||||
"entity.Well",
|
||||
"util.ConfigurationManager",
|
||||
"util.PieceGenerator",
|
||||
"Tetris"
|
||||
],
|
||||
"include_files": [
|
||||
"config.yaml",
|
||||
"tetris_icon.png"
|
||||
]
|
||||
}
|
||||
},
|
||||
executables=executables
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user