#!/usr/bin/env bash
set -e

cd "$(dirname "$0")/.."

python3 -m venv .venv
. .venv/bin/activate

python -m pip install --upgrade pip
python -m pip install -r requirements.txt

echo "Ready."
echo "Activate with: source .venv/bin/activate"
