Use pyinstaller
This commit is contained in:
parent
d64dba36b0
commit
e2e4f09bbe
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,6 +18,7 @@ lib64/
|
|||||||
parts/
|
parts/
|
||||||
sdist/
|
sdist/
|
||||||
Tetris2000.build/
|
Tetris2000.build/
|
||||||
|
Tetris2000.build/
|
||||||
var/
|
var/
|
||||||
wheels/
|
wheels/
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
|
16
README.md
16
README.md
@ -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
|
||||||
|
BIN
Tetris2000.exe
BIN
Tetris2000.exe
Binary file not shown.
BIN
python36.dll
BIN
python36.dll
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user