mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
Docker: Switch i-Pi test to Python3
This commit is contained in:
parent
5eff4ee254
commit
70d158756f
3 changed files with 7 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ elif grep -q "Fedora" /etc/os-release ; then
|
|||
git \
|
||||
less \
|
||||
nano \
|
||||
python3 \
|
||||
python3 \
|
||||
rsync \
|
||||
wget
|
||||
dnf -q clean all
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@
|
|||
# install Ubuntu packages
|
||||
apt-get update -qq
|
||||
apt-get install -qq --no-install-recommends \
|
||||
python \
|
||||
python-pip \
|
||||
python-wheel \
|
||||
python-setuptools
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-wheel \
|
||||
python3-setuptools
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install python packages
|
||||
pip install --quiet numpy
|
||||
pip3 install --quiet numpy
|
||||
|
||||
# clone i-pi repository
|
||||
git clone --quiet --depth=1 --single-branch -b master https://github.com/i-pi/i-pi.git /opt/i-pi
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ fi
|
|||
echo -e "\n========== Installing i-Pi =========="
|
||||
cd /opt/i-pi
|
||||
git pull --quiet
|
||||
pip install --quiet .
|
||||
pip3 install --quiet .
|
||||
|
||||
echo -e "\n========== Running i-Pi Tests =========="
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue