mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
update arm64 buildscript to avoid poetry
This commit is contained in:
+8
-8
@@ -23,13 +23,13 @@ cd swingmusicbuilder
|
||||
git clone --quiet https://github.com/swing-opensource/swingmusic-client.git
|
||||
git clone --quiet https://github.com/swing-opensource/swingmusic.git
|
||||
# Manual poetry installation as installers are broken.
|
||||
python3.11 -m venv poetry
|
||||
source poetry/bin/activate
|
||||
python3.11 -m venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
cd swingmusic
|
||||
|
||||
pip install -U pip setuptools
|
||||
pip install poetry
|
||||
# pip install -U pip setuptools
|
||||
pip install -r requirements.txt
|
||||
|
||||
cd ../swingmusic-client
|
||||
yarn install
|
||||
@@ -37,12 +37,12 @@ yarn build --outDir ../swingmusic/client
|
||||
|
||||
cd ../swingmusic
|
||||
# Fixes poetry issue 5250.
|
||||
export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring
|
||||
poetry env use /usr/bin/python3.11
|
||||
poetry install
|
||||
# export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring
|
||||
# poetry env use /usr/bin/python3.11
|
||||
# poetry install
|
||||
# Swing gives error if this is not set. Set to version of repo you cloned.
|
||||
export SWINGMUSIC_APP_VERSION="TAG"
|
||||
poetry run python manage.py --build
|
||||
python manage.py --build
|
||||
|
||||
# rename binary
|
||||
mv dist/swingmusic dist/swingmusic_linux_arm64
|
||||
|
||||
Reference in New Issue
Block a user