Use pyinstaller

This commit is contained in:
adrienmalin 2018-08-21 18:37:39 +02:00
parent d64dba36b0
commit e2e4f09bbe
4 changed files with 4 additions and 13 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@ lib64/
parts/ parts/
sdist/ sdist/
Tetris2000.build/ Tetris2000.build/
Tetris2000.build/
var/ var/
wheels/ wheels/
*.egg-info/ *.egg-info/

View File

@ -19,7 +19,7 @@ Yet another Tetris clone, with Qt5 on Python 3
```bash ```bash
pip3 install --user qtpy pip3 install --user qtpy
pip3 install --user qdarkstyle pip3 install --user qdarkstyle
pip3 install --user nuitka pip3 install --user pyinstaller
``` ```
* Clone repository: * Clone repository:
@ -28,22 +28,12 @@ Yet another Tetris clone, with Qt5 on Python 3
git clone https://github.com/adrienmalin/Tetris2000 git clone https://github.com/adrienmalin/Tetris2000
``` ```
* Build with nuitka: * Build with pyinstaller:
Linux:
```bash ```bash
python3 -m nuitka Tetris2000.py --recurse-all pyinstaller pyinstaller.spec
``` ```
Windows:
```bash
python -m nuitka Tetris2000 --recurse-all --windows-disable-console
```
Add `icons/icon.ico` to `Tetris2000.exe` with [Resource hacker](http://www.angusj.com/resourcehacker/)
## Credits ## Credits
* [Tetris](https://tetris.com) Game Design by Alekseï Pajitnov * [Tetris](https://tetris.com) Game Design by Alekseï Pajitnov

Binary file not shown.

Binary file not shown.