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

sh -e /etc/init.d/xvfb start
sudo apt-get update

WHEELHOUSE="--no-index --find-links=http://wheels.scikit-image.org/"

pip install wheel flake8 coveralls nose
pip uninstall -y numpy

# on Python 2.7, use the system versions of numpy, scipy, and matplotlib
# and the minimum version of cython and networkx
if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then
    sudo apt-get install python-scipy python-matplotlib
    pip install https://github.com/cython/cython/archive/0.19.2.tar.gz
    pip install https://github.com/networkx/networkx/archive/networkx-1.8.tar.gz
fi

pip install -r requirements.txt $WHEELHOUSE
python check_bento_build.py

tools/header.py "Dependency versions"
tools/build_versions.py

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

sh -e /etc/init.d/xvfb start
sudo apt-get update

WHEELHOUSE="--no-index --find-links=http://wheels.scikit-image.org/"

pip install wheel flake8 coveralls nose
pip uninstall -y numpy

# on Python 2.7, use the system versions of numpy, scipy, and matplotlib
# and the minimum version of cython and networkx
if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then
    sudo apt-get install python-scipy python-matplotlib
    pip install https://github.com/cython/cython/archive/0.19.2.tar.gz
    pip install https://github.com/networkx/networkx/archive/networkx-1.8.tar.gz
fi

pip install $WHEELHOUSE numpy
pip install tifffile
pip install -r requirements.txt $WHEELHOUSE
python check_bento_build.py

tools/header.py "Dependency versions"
tools/build_versions.py

Update the setup script to install tifffile
Update the setup script to install tifffile
