fix: address missing files and modules in build
This commit is contained in:
38
build.py
38
build.py
@@ -8,29 +8,47 @@ if sys.platform == 'win32':
|
||||
# TODO add icon to cx freeze set up
|
||||
|
||||
setup(
|
||||
name="Tetris",
|
||||
version="0.7.0",
|
||||
description="Tetris Python Clone",
|
||||
name="Tetri5",
|
||||
version="1.0.0",
|
||||
description="A full featured tetris game using python's pygame library. https://github.com/gio101046/tetri5",
|
||||
options={
|
||||
"build_exe": {
|
||||
"packages": [
|
||||
"pygame",
|
||||
"typing",
|
||||
"types",
|
||||
"copy",
|
||||
"yaml",
|
||||
"random",
|
||||
"sys",
|
||||
"tetris.entity",
|
||||
"tetris.game",
|
||||
"tetris.util"
|
||||
"asyncio",
|
||||
"websockets",
|
||||
"json",
|
||||
"queue",
|
||||
"uuid",
|
||||
"threading",
|
||||
"tetri5.entity",
|
||||
"tetri5.game",
|
||||
"tetri5.modal",
|
||||
"tetri5.online",
|
||||
"tetri5.scene",
|
||||
"tetri5.util"
|
||||
],
|
||||
"include_files": [
|
||||
("config.yaml", "config.yaml"),
|
||||
("resource/image/tetris_icon.png", "resource/image/tetris_icon.png"),
|
||||
("resource/image/press-start-2p-font.bmp", "resource/image/press-start-2p-font.bmp"),
|
||||
("resource/sound/main_music.ogg", "resource/sound/main_music.ogg"),
|
||||
("resource/sound/piece_set_3.wav", "resource/sound/piece_set_3.wav"),
|
||||
("resource/sound/row_completion.wav", "resource/sound/row_completion.wav"),
|
||||
("resource/image/tetris_icon.png", "resource/image/tetris_icon.png"),
|
||||
("resource/image/title_screen.png", "resource/image/title_screen.png"),
|
||||
("resource/sound/four_lines_complete.ogg", "resource/sound/four_lines_complete.ogg"),
|
||||
("resource/sound/game_over.ogg", "resource/sound/game_over.ogg"),
|
||||
("resource/sound/level_up.ogg", "resource/sound/level_up.ogg"),
|
||||
("resource/sound/line_complete.ogg", "resource/sound/line_complete.ogg"),
|
||||
("resource/sound/option_change.wav", "resource/sound/option_change.wav"),
|
||||
("resource/sound/piece_rotate.ogg", "resource/sound/piece_rotate.ogg"),
|
||||
("resource/sound/piece_set.ogg", "resource/sound/piece_set.ogg"),
|
||||
("resource/sound/theme_music_multi.ogg", "resource/sound/theme_music_multi.ogg"),
|
||||
("resource/sound/theme_music_single.ogg", "resource/sound/theme_music_single.ogg"),
|
||||
("resource/sound/you_win.ogg", "resource/sound/you_win.ogg")
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
import pygame
|
||||
from types import FunctionType
|
||||
from tetri5.util import ConfigurationManager
|
||||
|
||||
Reference in New Issue
Block a user