mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
- extract Ansible collection install into scripts/install/ansible.sh - extract venv bootstrap into scripts/install/venv.sh - extract python deps install into scripts/install/python.sh - extract project setup logic into scripts/setup.sh - simplify Makefile targets to delegate to scripts - add bootstrap target for full environment setup https://chatgpt.com/share/696ff8cd-32d4-800f-bdd5-a34159aac1c0
14 lines
257 B
Bash
14 lines
257 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
: "${PYTHON:?PYTHON not set}"
|
|
|
|
install_python_deps() {
|
|
echo "📦 Installing Python dependencies"
|
|
|
|
"${PYTHON}" -m pip install --upgrade pip setuptools wheel
|
|
"${PYTHON}" -m pip install -e .
|
|
}
|
|
|
|
install_python_deps
|