from cx_Freeze import setup, Executable
import sys

base = None
if sys.platform == 'win32':
    base = "Win32GUI"

# TODO add icon to cx freeze set up

setup(
    name="Tetris",
    version="0.1.0",
    description="Tetris Python Clone",
    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=[Executable("main.py", base=base)]
)

