feat: Migrate to uv for dependency management and script execution.

This commit is contained in:
Omid Zamani
2026-01-02 16:37:33 +01:00
parent 4f2975eeb4
commit d089e7e06f
8 changed files with 1135 additions and 19 deletions

10
init.sh
View File

@@ -4,7 +4,15 @@ set -e
# 1. Update and install dependencies
echo "--- Installing dependencies ---"
sudo apt update
sudo apt install -y git curl wget python3-dev gcc python3 python3.11-venv nano sed
sudo apt install -y git curl wget python3-dev gcc python3 nano sed
# 1.1 Install uv
if ! command -v uv &> /dev/null; then
echo "--- Installing uv ---"
curl -LsSf https://astral.sh/uv/install.sh | sh
# Ensure uv is in PATH for the current script
export PATH="$HOME/.local/bin:$PATH"
fi
# 2. Clone the repository if not already in it
if [ ! -d "relay-ir" ]; then