mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
copy version.txt into dist build
+ install wsgi server manually on scripts
This commit is contained in:
@@ -77,11 +77,11 @@ jobs:
|
|||||||
- name: Activate virtualenv (linux)
|
- name: Activate virtualenv (linux)
|
||||||
if: matrix.os == 'ubuntu-20.04'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate && pip install bjoern
|
||||||
- name: Activate virtualenv (windows)
|
- name: Activate virtualenv (windows)
|
||||||
if: matrix.os == 'windows-2019'
|
if: matrix.os == 'windows-2019'
|
||||||
run: |
|
run: |
|
||||||
.venv\Scripts\Activate
|
.venv\Scripts\Activate && pip install waitress
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
pacman-key --init > /dev/null
|
pacman-key --init > /dev/null
|
||||||
pacman-key --populate archlinuxarm > /dev/null
|
pacman-key --populate archlinuxarm > /dev/null
|
||||||
pacman -Syq --noconfirm > /dev/null
|
pacman -Syq --noconfirm > /dev/null
|
||||||
|
pacman -S libev --noconfirm > /dev/null
|
||||||
pacman -Sq yarn git wget glibc gcc bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib libnghttp2 icu --noconfirm --disable-download-timeout --needed > /dev/null
|
pacman -Sq yarn git wget glibc gcc bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib libnghttp2 icu --noconfirm --disable-download-timeout --needed > /dev/null
|
||||||
wget -q https://github.com/jensgrunzer1/pyhon311-for-aarch64/raw/refs/heads/main/python311-3.11.9-2-aarch64.pkg.tar.xz
|
wget -q https://github.com/jensgrunzer1/pyhon311-for-aarch64/raw/refs/heads/main/python311-3.11.9-2-aarch64.pkg.tar.xz
|
||||||
pacman -U python311-3.11.9-2-aarch64.pkg.tar.xz --noconfirm
|
pacman -U python311-3.11.9-2-aarch64.pkg.tar.xz --noconfirm
|
||||||
@@ -30,6 +31,7 @@ cd swingmusic
|
|||||||
|
|
||||||
# pip install -U pip setuptools
|
# pip install -U pip setuptools
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
pip install bjoern
|
||||||
|
|
||||||
cd ../swingmusic-client
|
cd ../swingmusic-client
|
||||||
yarn install
|
yarn install
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ def handle_build(*args, **kwargs):
|
|||||||
"--clean",
|
"--clean",
|
||||||
f"--add-data=assets{_s}assets",
|
f"--add-data=assets{_s}assets",
|
||||||
f"--add-data=client{_s}client",
|
f"--add-data=client{_s}client",
|
||||||
|
f"--add-data=version.txt{_s}.",
|
||||||
f"--add-data={flask_openapi_path}/templates/static{_s}flask_openapi3/templates/static",
|
f"--add-data={flask_openapi_path}/templates/static{_s}flask_openapi3/templates/static",
|
||||||
f"--icon=assets/logo-fill.light.ico",
|
f"--icon=assets/logo-fill.light.ico",
|
||||||
"-y",
|
"-y",
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ typing-extensions==4.12.2
|
|||||||
tzdata==2025.1
|
tzdata==2025.1
|
||||||
unidecode==1.3.8
|
unidecode==1.3.8
|
||||||
urllib3==2.3.0
|
urllib3==2.3.0
|
||||||
waitress==3.0.2
|
|
||||||
watchdog==6.0.0
|
watchdog==6.0.0
|
||||||
werkzeug==3.1.3
|
werkzeug==3.1.3
|
||||||
xxhash==3.5.0
|
xxhash==3.5.0
|
||||||
|
|||||||
Reference in New Issue
Block a user