cp2k/tools/docker/scripts/install_python.sh

34 lines
717 B
Bash
Raw Permalink Normal View History

2018-11-08 13:56:15 +01:00
#!/bin/bash -e
# author: Ole Schuett
# install Ubuntu packages
apt-get update -qq
apt-get install -qq --no-install-recommends \
2021-02-17 17:02:43 +01:00
libpython3-stdlib \
python3 \
python3-pip \
python3-wheel \
python3-setuptools \
python3-dev \
2021-02-23 18:10:55 +01:00
build-essential \
2021-11-10 22:10:06 +01:00
golang \
unzip
2018-11-08 13:56:15 +01:00
rm -rf /var/lib/apt/lists/*
# install python packages
2021-06-14 15:40:03 +02:00
pip3 install --quiet \
numpy \
matplotlib \
requests \
types-requests \
mypy==0.902
2021-11-10 22:10:06 +01:00
# download inputs for minimax_to_fortran_source.py
cd /workspace/cp2k/tools/minimax_tools
wget -q https://www.cp2k.org/static/downloads/1_xData.zip
echo "7be2e56d83d0cb17683bbc8ab85dae1dc9a9c937e1dc1bad1514857938e687cb 1_xData.zip" | sha256sum --check
unzip -q -d 1_xData 1_xData.zip
#EOF