#!/usr/bin/env bash -ex

# Install pip
cd /tmp
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.7 get-pip.py --user
cd -

# Install Flit to be able to install all
python3.7 -m pip install --user flit

# Install with Flit
python3.7 -m flit install --user --deps develop

# Finally, run mkdocs
python3.7 -m mkdocs build
