2025-01-06 20:22:30 +01:00
|
|
|
#!/bin/bash
|
|
|
|
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
2025-01-07 11:31:22 +01:00
|
|
|
if [ ! -d "${script_dir}/.venv/${USER}/" ]; then
|
|
|
|
python -m venv "${script_dir}/.venv/${USER}"
|
2025-01-06 20:22:30 +01:00
|
|
|
fi
|
2025-01-07 11:31:22 +01:00
|
|
|
# shellcheck disable=1090
|
|
|
|
source "${script_dir}/.venv/${USER}/bin/activate"
|
|
|
|
pip install -r "${script_dir}/requirements.txt" > /dev/null
|
|
|
|
pip install "${script_dir}/" > /dev/null
|
2025-01-06 20:22:30 +01:00
|
|
|
publish_active_windows.py "${@}"
|