Skip to content

Commit

Permalink
We now need crypt.h to run CI with Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Feb 18, 2024
1 parent 6650ee1 commit 278a9cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion support/setup_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ fi
if [ ${python_version} = "2.7" ]; then
BOOST=""
pip="pip<=19.3.1"
# Python.h includes crypt.h, which is no longer provided by default
crypt="libxcrypt"
else
BOOST="libboost-devel"
pip="pip"
crypt=""
fi
conda create --yes -q -n python${python_version} -c salilab python=${python_version} ${pip} ${IMP_CONDA} ${BOOST} gxx_linux-64 eigen cereal swig cmake numpy
conda create --yes -q -n python${python_version} -c salilab python=${python_version} ${pip} ${crypt} ${IMP_CONDA} ${BOOST} gxx_linux-64 eigen cereal swig cmake numpy
eval "$(conda shell.bash hook)"
conda activate python${python_version}

Expand Down

0 comments on commit 278a9cf

Please sign in to comment.