https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision 0c81690cfd1869bc0ee0ac0cd780ee38b4d58aa9 authored by Matthew Kolopanis on 15 May 2019, 00:12:49 UTC, committed by Bryna Hazelton on 22 May 2019, 18:57:04 UTC
1 parent e91e75c
Raw File
Tip revision: 0c81690cfd1869bc0ee0ac0cd780ee38b4d58aa9 authored by Matthew Kolopanis on 15 May 2019, 00:12:49 UTC
deprecation now warns removal in 1.5
Tip revision: 0c81690
install-circle.sh
set -xe

apt-get update; apt-get install -y gcc g++
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda config --add channels conda-forge
conda info -a
conda create --name=${ENV_NAME}  python=$PYTHON --quiet
conda env update -f ci/${ENV_NAME}.yml
source activate ${ENV_NAME}
conda list -n ${ENV_NAME}
# check that the python version matches the desired one; exit immediately if not
PYVER=`python -c "from __future__ import print_function; import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))"`
if [[ $PYVER != $PYTHON ]]; then
  exit 1;
fi
back to top