2015-09-17 00:38:52 -07:00
|
|
|
#!/bin/sh
|
2017-01-02 22:04:09 +01:00
|
|
|
# Resolve all dependencies that the application requires to run.
|
2015-09-17 00:38:52 -07:00
|
|
|
|
2017-01-02 22:04:09 +01:00
|
|
|
# Stop on errors
|
|
|
|
|
set -e
|
2015-09-17 00:38:52 -07:00
|
|
|
|
2025-07-31 18:47:25 -04:00
|
|
|
cd "$(realpath "$(dirname "$0")/..")"
|
2017-01-25 02:20:18 +02:00
|
|
|
|
2026-06-17 01:32:22 -04:00
|
|
|
if [ ! -n "$VIRTUAL_ENV" ]; then
|
|
|
|
|
source .venv/bin/activate
|
|
|
|
|
fi
|
|
|
|
|
|
2019-10-23 09:12:57 +03:00
|
|
|
echo "Installing development dependencies..."
|
2025-09-03 09:58:29 -04:00
|
|
|
uv pip install \
|
|
|
|
|
-e . \
|
2026-05-20 23:54:31 +02:00
|
|
|
-r requirements_all.txt \
|
|
|
|
|
-r requirements_test.txt \
|
2025-09-03 09:58:29 -04:00
|
|
|
colorlog \
|
|
|
|
|
--upgrade \
|
|
|
|
|
--config-settings editable_mode=compat
|
2025-09-06 01:22:47 -04:00
|
|
|
|
|
|
|
|
python3 -m script.translations develop --all
|