#!/bin/sh

set -o errexit

# With `pyenv` and its `pyenv-virtualenv` plugin installed, this script
# bootstraps a Python 3.7 development environment.

die() {
  echo $*
  exit 1
}

for p in pyenv; do
  command -v $p >/dev/null 2>&1 || { die "\`$p\` not found in PATH"; }
done

CONFIGURE_OPTS=--enable-shared pyenv install 3.7.6
pyenv virtualenv 3.7.6 pymanopt-3.7
pip install --upgrade pip setuptools wheel
pip install -r dev-requirements.txt
pip install -r requirements.txt

Add script to bootstrap local dev environment
Add script to bootstrap local dev environment

Signed-off-by: Niklas Koep <342d5290239d9c5264c8f98185afedb99596601a@gmail.com>
