Add linux build support.
This commit is contained in:
parent
199f665ac1
commit
c1e88fcf71
2 changed files with 18 additions and 0 deletions
17
build/build-linux.sh
Executable file
17
build/build-linux.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
apt install libportaudio2
|
||||||
|
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
pip3 install -r requirements-linux.txt
|
||||||
|
pip3 install -e ..\
|
||||||
|
|
||||||
|
python3 ./generate-build-exe-config.py
|
||||||
|
|
||||||
|
python3 ./build-exe.py
|
||||||
|
|
||||||
|
bash ./build-exe-pyinstaller-command.sh
|
||||||
|
|
||||||
|
rm ./*.spec
|
||||||
|
|
1
build/requirements-linux.txt
Normal file
1
build/requirements-linux.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pyinstaller
|
Loading…
Reference in a new issue