build
This commit is contained in:
parent
dda475a584
commit
f1ffb1a7c6
@ -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
|
||||
```
|
16
setup.py
Normal file
16
setup.py
Normal 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"]}},
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user