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/
sdist/
Tetris2000.build/
Tetris2000.build/
var/
wheels/
*.egg-info/

View File

@ -19,7 +19,7 @@ Yet another Tetris clone, with Qt5 on Python 3
```bash
pip3 install --user qtpy
pip3 install --user qdarkstyle
pip3 install --user nuitka
pip3 install --user pyinstaller
```
* Clone repository:
@ -28,21 +28,11 @@ Yet another Tetris clone, with Qt5 on Python 3
git clone https://github.com/adrienmalin/Tetris2000
```
* Build with nuitka:
Linux:
* Build with pyinstaller:
```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

Binary file not shown.

Binary file not shown.