This commit is contained in:
adrienmalin 2019-10-02 01:06:33 +02:00
parent dda475a584
commit f1ffb1a7c6
3 changed files with 24 additions and 1 deletions

View File

@ -25,4 +25,11 @@ python tetrarcade.py
* Windows: Edit `%appdata%\Tetrarcade\TetrArcade.ini`
* Linux: Edit `~/.local/share/Tetrarcade/TetrArcade.ini`
Use key name from [arcade.key package](http://arcade.academy/arcade.key.html).
Use key name from [arcade.key package](http://arcade.academy/arcade.key.html).
## Build
```shell
python -m pip install cx-freeze
python setup.py build
```

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

16
setup.py Normal file
View File

@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
import sys
from cx_Freeze import setup, Executable
if sys.platform == "win32":
base = "Win32GUI"
else:
base = None
setup(
name="TetrArcade",
version="0.1",
description="Tetris clone",
executables=[Executable(script="TetrArcade.py", icon="icon.ico")],
options={"build_exe": {"packages": ["arcade"], "excludes": ["tkinter"]}},
)