2020-11-03 20:13:32 +00:00
|
|
|
#!/bin/bash
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
|
2021-04-11 18:02:19 +00:00
|
|
|
build_commit="$(git rev-parse --short HEAD)"
|
2021-04-11 19:27:46 +00:00
|
|
|
echo "BUILD: str = \"$build_commit\"" > ../build.py
|
2021-04-11 18:02:19 +00:00
|
|
|
|
2020-11-03 20:13:32 +00:00
|
|
|
apt install libportaudio2
|
|
|
|
|
2021-04-11 18:02:19 +00:00
|
|
|
python3 -m venv ../venv
|
|
|
|
source ../venv/bin/activate
|
|
|
|
|
2020-11-03 20:13:32 +00:00
|
|
|
pip3 install -r requirements.txt
|
|
|
|
pip3 install -r requirements-linux.txt
|
2021-04-11 18:02:19 +00:00
|
|
|
pip3 install -e ../
|
2020-11-03 20:13:32 +00:00
|
|
|
|
|
|
|
python3 ./generate-build-exe-config.py
|
|
|
|
|
|
|
|
python3 ./build-exe.py
|
|
|
|
|
|
|
|
bash ./build-exe-pyinstaller-command.sh
|
|
|
|
|
|
|
|
rm ./*.spec
|
|
|
|
|