Skip to content

Commit

Permalink
cx_freeze setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mseyne committed Mar 1, 2021
1 parent d489cdc commit 84be2b3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import sys
from cx_Freeze import setup, Executable

build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]}

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

setup (
name = "Tetromino400",
version = "1.0",
description = "A famous falling blocks game clone.",
options = {"build_exe":build_exe_options},
executables = [Executable("game.py", base=base)]
)

0 comments on commit 84be2b3

Please sign in to comment.