Use pyinstaller
This commit is contained in:
parent
d64dba36b0
commit
e2e4f09bbe
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,6 +18,7 @@ lib64/
|
||||
parts/
|
||||
sdist/
|
||||
Tetris2000.build/
|
||||
Tetris2000.build/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
|
16
README.md
16
README.md
@ -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
|
||||
|
||||
|
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