24 lines
790 B
Bash
24 lines
790 B
Bash
#!/bin/bash
|
|
apt-get -y install libcairo2-dev gir1.2-gtksource-3.0 hdf5-tools
|
|
apt-get -y install python3-dev python3-scipy python3-lmfit python3-matplotlib python3-tables python3-xdg python3-setuptools python3-sphinx-rtd-theme
|
|
apt-get -y install debhelper dh-sequence-python3 lsb-release sphinx-common pybuild-plugin-pyproject python3-sphinxcontrib.bibtex
|
|
DEBRELEASE=$(lsb_release -cs)
|
|
case $DEBRELEASE in
|
|
"trixie")
|
|
echo "Trixie detected"
|
|
# python3-setuptools needed, python >= 3.12 has no stdlib distutils module
|
|
apt-get -y install libgirepository-2.0-dev
|
|
;;
|
|
"bookworm")
|
|
echo "Bookworm detected"
|
|
apt-get -y install libgirepository1.0-dev
|
|
;;
|
|
"bullseye")
|
|
echo "Bullseye detected"
|
|
apt-get -y install libgirepository1.0-dev
|
|
;;
|
|
*)
|
|
echo "not implemented" ; exit 1
|
|
;;
|
|
esac
|