Add tqdm to dependencies. Install mpi4py on Travis

This commit is contained in:
Paul Romano 2018-02-14 07:22:16 -06:00
parent ef99788ff4
commit 26852f79f4
2 changed files with 7 additions and 2 deletions

View file

@ -57,7 +57,7 @@ kwargs = {
# Required dependencies
'install_requires': [
'numpy>=1.9', 'h5py', 'scipy', 'ipython', 'matplotlib',
'pandas', 'lxml', 'uncertainties'
'pandas', 'lxml', 'uncertainties', 'tqdm'
],
# Optional dependencies

View file

@ -14,10 +14,15 @@ pip install cython
pip install --upgrade pytest
# Pandas stopped supporting Python 3.4 with version 0.21
if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then
pip install pandas==0.20.3
fi
# Install mpi4py for MPI configurations
if [[ $MPI == 'y' ]]; then
pip install --no-binary=mpi4py mpi4py
fi
# Build and install OpenMC executable
python tools/ci/travis-install.py