Skip to content

Commit

Permalink
Add astropy and gammapy
Browse files Browse the repository at this point in the history
  • Loading branch information
sfegan committed Jul 3, 2024
1 parent 7328a68 commit e3d3b11
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions singularity_build.def
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ From: ubuntu:22.04
apt-get -y autoremove
apt-get -y clean

pip3 install ipyparallel cdsapi ecmwf-api-client
pip3 install ipyparallel cdsapi ecmwf-api-client astropy gammagy
pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib

export G4DATADIR=/usr/share/Geant4/data
Expand All @@ -106,8 +106,11 @@ From: ubuntu:22.04
curl -L $G4URL/G4RealSurface.2.2.tar.gz | tar -C $G4DATADIR -zxf -
curl -L $G4URL/G4TENDL.1.4.tar.gz | tar -C $G4DATADIR -zxf -

curl -L https://github.com/llr-cta/CamerasToACTLRelease/releases/download/ubuntu-22.04/CamerasToACTL-ubuntu-22.04.tgz | tar -zxf - -C /
curl -L https://github.com/llr-cta/Geant4Build/releases/download/ubuntu-22.04-11.2.2/Geant4-ubuntu-22.04-11.2.2.tbz2 | tar -jxf - -C /
export CAMERASTOACTL_REL=ubuntu-22.04
export GEANT4_REL=ubuntu-22.04-11.2.2

curl -L https://github.com/llr-cta/CamerasToACTLRelease/releases/download/$CAMERASTOACTL_REL/CamerasToACTL-$CAMERASTOACTL_REL.tgz | tar -zxf - -C /
curl -L https://github.com/llr-cta/Geant4Build/releases/download/$GEANT4_REL/Geant4-$GEANT4_REL.tbz2 | tar -jxf - -C /

tar -zxf /tmp/calin_installed.tgz -C /
rm -f /tmp/calin_installed.tgz
Expand Down

0 comments on commit e3d3b11

Please sign in to comment.