#!/bin/bash

set -ex
set -o pipefail

[ -e .venv ] || virtualenv "$@" .venv
source .venv/bin/activate

[ -f requirements.txt ] && pip install -r requirements.txt