mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
When using docker (compose), we don't create a venv and just install python packages system-wide. With python 3.11 (PEP 668) we need to explicitly tell pip to allow this. Signed-off-by: moson-mo <mo-son@mailbox.org>
8 lines
191 B
Bash
Executable file
8 lines
191 B
Bash
Executable file
#!/bin/bash
|
|
set -eou pipefail
|
|
|
|
if [ ! -z "${COMPOSE+x}" ]; then
|
|
export PIP_BREAK_SYSTEM_PACKAGES=1
|
|
poetry config virtualenvs.create false
|
|
fi
|
|
poetry install --no-interaction --no-ansi
|