Skip to content
Snippets Groups Projects
Unverified Commit a8d0112e authored by mirabilos's avatar mirabilos Committed by Nik | Klampfradler
Browse files

Work around multiple relative installations bug in poetry.

parent e3fe19d6
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
remove_pip_metadata() {
find . -type d -name pip-wheel-metadata -print0 | xargs -0r rm -rf --
}
case "$1" in
"install-all")
cd "$(dirname "$0")"
remove_pip_metadata
poetry install
for d in apps/official/*; do
remove_pip_metadata
poetry run sh -c "cd $d; poetry install"
done
remove_pip_metadata
poetry run ./manage.py migrate
;;
*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment