33 lines
738 B
Python
33 lines
738 B
Python
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
|
|
)
|
|
|