#!/bin/bash

# First install blender
# apt-get install -y -qq blender

# Check the necessary dependencies for the
# blender build
blendnavipy --background --noaudio --python-script=$PWD/navipy/scripts/check_blender_versions.py

# Make packages in the virtualenv match the one used by blender
pip install --upgrade  pip
pip install --upgrade -r requirement_blender.txt