File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,26 +23,26 @@ cd swingmusicbuilder
2323git clone --quiet https://github.com/swing-opensource/swingmusic-client.git
2424git clone --quiet https://github.com/swing-opensource/swingmusic.git
2525# Manual poetry installation as installers are broken.
26- python3.11 -m venv poetry
27- source poetry /bin/activate
26+ python3.11 -m venv venv
27+ source venv /bin/activate
2828
2929cd swingmusic
3030
31- pip install -U pip setuptools
32- pip install poetry
31+ # pip install -U pip setuptools
32+ pip install -r requirements.txt
3333
3434cd ../swingmusic-client
3535yarn install
3636yarn build --outDir ../swingmusic/client
3737
3838cd ../swingmusic
3939# Fixes poetry issue 5250.
40- export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring
41- poetry env use /usr/bin/python3.11
42- poetry install
40+ # export PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring
41+ # poetry env use /usr/bin/python3.11
42+ # poetry install
4343# Swing gives error if this is not set. Set to version of repo you cloned.
4444export SWINGMUSIC_APP_VERSION=" TAG"
45- poetry run python manage.py --build
45+ python manage.py --build
4646
4747# rename binary
4848mv dist/swingmusic dist/swingmusic_linux_arm64
Original file line number Diff line number Diff line change 22This file is used to run the application.
33"""
44
5+ import logging
56import os
67import psutil
78import waitress
5455# werkzeug = logging.getLogger("werkzeug")
5556# werkzeug.setLevel(logging.ERROR)
5657
58+ waitress_logger = logging .getLogger ("waitress" )
59+ waitress_logger .setLevel (logging .ERROR )
60+
5761# # logging.basicConfig()
5862# logging.getLogger("sqlalchemy.engine").setLevel(logging.ERROR)
5963
You can’t perform that action at this time.
0 commit comments