2024-10-03 12:19:44 +02:00
|
|
|
#!/bin/bash
|
2024-11-16 22:10:45 +01:00
|
|
|
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
if [ ! -d "${script_dir}/.venv" ]; then
|
|
|
|
python -m venv "$script_dir/.venv"
|
2024-10-03 12:19:44 +02:00
|
|
|
fi
|
|
|
|
# shellcheck disable=1091
|
2024-11-16 22:10:45 +01:00
|
|
|
source "$script_dir/.venv/bin/activate"
|
|
|
|
pip install -r "$script_dir/requirements.txt" > /dev/null
|
|
|
|
pip install "$script_dir/" > /dev/null
|
2024-11-19 11:20:00 +01:00
|
|
|
__project_codename__.py "${@}"
|