mirror of
https://github.com/taigaio/taiga-back
synced 2025-10-06 00:02:52 +02:00
22 lines
633 B
Bash
Executable File
22 lines
633 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [[ -z ${VIRTUAL_ENV} ]]; then
|
|
echo "Please, activate first a virtualenv"
|
|
exit 1
|
|
fi
|
|
|
|
set -euxo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
# pip-tools==7.5.0 constraint
|
|
#
|
|
# With click 8.3.0, pip-compile's header now includes --xxx=None options that were not specified
|
|
# https://github.com/jazzband/pip-tools/issues/2238
|
|
python -m pip install --upgrade pip-tools 'click!=8.3.0'
|
|
|
|
python -m piptools compile --upgrade requirements.in
|
|
python -m piptools compile --upgrade requirements-devel.in
|
|
|
|
python -m pip install --upgrade pip wheel setuptools
|
|
python -m pip install -r requirements.txt -r requirements-devel.txt
|