From 22811663ef064b746f67f44ffd12fe99d3771897 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Sun, 15 Oct 2023 16:06:15 -0700 Subject: [PATCH] We now need Boost headers to build with IMP on Python 3 --- tools/setup_ci.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/setup_ci.sh b/tools/setup_ci.sh index 6c28add..d53eac3 100755 --- a/tools/setup_ci.sh +++ b/tools/setup_ci.sh @@ -9,8 +9,13 @@ fi python_version=$1 +if [ ${python_version} = "2.7" ]; then + BOOST="" +else + BOOST="libboost-devel" +fi conda config --remove channels defaults # get conda-forge, not main, packages -conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip imp-nightly gxx_linux-64 eigen cereal swig cmake numpy +conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip imp-nightly ${BOOST} gxx_linux-64 eigen cereal swig cmake numpy eval "$(conda shell.bash hook)" conda activate python${python_version} pip install pytest-cov coverage