mirror of
https://github.com/saymrwulf/NTT-learning.git
synced 2026-05-14 20:47:53 +00:00
17 lines
350 B
Bash
Executable file
17 lines
350 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
PYTHON_BIN="${PYTHON_BIN:-python3}"
|
|
|
|
cd "$REPO_ROOT"
|
|
|
|
if [[ ! -x ".venv/bin/python" ]]; then
|
|
"$PYTHON_BIN" -m venv .venv
|
|
fi
|
|
|
|
".venv/bin/python" -m pip install --upgrade pip
|
|
".venv/bin/python" -m pip install -e ".[dev]"
|
|
|
|
echo "Bootstrap complete."
|
|
|