scripts/bootstrap.sh

15 lines
231 B
Bash

#!/bin/bash
python -m venv scripts.venv
. scripts.venv/bin/activate
python -m pip install pip~=24.0 pip-tools~=7.4
if [[ ! -f requirements.txt ]]; then
touch requirements.txt
fi
pip-sync requirements.txt
pip install -e .