Mise à jour de 'README.md'

This commit is contained in:
Adrien MALINGREY 2019-09-26 22:08:53 +02:00
parent 90e4d3d7e3
commit 1fa29fd41f

View File

@ -1,4 +1,4 @@
#   ![icon](https://raw.githubusercontent.com/adrienmalin/TETRIS2000/master/src/main/icons/linux/48.png "T") TETRIS 2000 #   ![icon](https://git.malingrey.fr/adrien/TETRIS2000/raw/branch/master/src/main/icons/linux/48.png "T") TETRIS 2000
Yet another Tetris clone, with Qt5 on Python 3 Yet another Tetris clone, with Qt5 on Python 3
@ -6,27 +6,27 @@ Yet another Tetris clone, with Qt5 on Python 3
## Downloads ## Downloads
* [Linux archive](https://github.com/adrienmalin/TETRIS2000/releases/download/V0.3.1_fbs/TETRIS2000.tar.gz) (78.3 MB) * [Linux archive](https://git.malingrey.fr/adrien/TETRIS2000/archive/V0.3.1_fbs.tar.gz) (78.3 MB)
* [Windows installer](https://github.com/adrienmalin/TETRIS2000/releases/download/V0.3.1_fbs/TETRIS2000Setup.exe) (53.6 MB) * [Windows installer](https://github.com/adrienmalin/TETRIS2000/releases/download/V0.3.1_fbs/TETRIS2000Setup.exe) (53.6 MB)
## Build ## Build
* On Linux: * On Linux:
```bash ```shell
mkdir TETRIS2000 # Create folder mkdir TETRIS2000 # Create folder
cd TETRIS2000 # Enter folder cd TETRIS2000 # Enter folder
git clone https://github.com/adrienmalin/TETRIS2000 # Clone repository git clone https://git.malingrey.fr/adrien/TETRIS2000.git # Clone repository
python3 -m venv venv # Create a virtual environment python3 -m venv venv # Create a virtual environment
source venv/bin/activate # Activate the virtual environment source venv/bin/activate # Activate the virtual environment
pip install fbs PyQt5==5.9.2 PyInstaller==3.3.1 qdarkstyle # Install requirements pip3 install -r requirements.txt # Install requirements
python -m fbs run # Run application python -m fbs run # Run application
python -m fbs freeze # Freeze python -m fbs freeze # Freeze
``` ```
* On Windows: * On Windows:
Download and extract [source](https://github.com/adrienmalin/TETRIS2000/archive/master.zip). Download and extract [source](https://git.malingrey.fr/adrien/TETRIS2000/archive/V0.3.1_fbs.zip).
Open a command prompt and go to extracted directory Open a command prompt and go to extracted directory
```batch ```batch
@ -34,7 +34,7 @@ Yet another Tetris clone, with Qt5 on Python 3
python -m venv venv python -m venv venv
call venv\scripts\activate.bat call venv\scripts\activate.bat
REM Install requirements REM Install requirements
pip install fbs PyQt5==5.9.2 PyInstaller==3.3.1 qdarkstyle pip install -r requirements.txt
REM Run application REM Run application
python -m fbs run python -m fbs run
REM Create installer REM Create installer