Skip to content
Snippets Groups Projects
Commit fed85dc7 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

build_detector.sh: pip install requirements

parent e70e1b74
No related branches found
No related tags found
2 merge requests!48Merge master into feature branch,!46build_detector.sh: pip install requirements
...@@ -43,6 +43,9 @@ fi ...@@ -43,6 +43,9 @@ fi
echo "git clone -b ${JUGGLER_DETECTOR_VERSION} --depth 1 https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git" echo "git clone -b ${JUGGLER_DETECTOR_VERSION} --depth 1 https://eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git"
git clone -b ${JUGGLER_DETECTOR_VERSION} --depth 1 https://${DEPLOY_TOKEN}eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git git clone -b ${JUGGLER_DETECTOR_VERSION} --depth 1 https://${DEPLOY_TOKEN}eicweb.phy.anl.gov/EIC/detectors/${JUGGLER_DETECTOR}.git
[[ "$?" == "0" ]] || exit 1 [[ "$?" == "0" ]] || exit 1
if [ -f "${JUGGLER_DETECTOR}/requirements.txt" ] ; then
python -m pip install -r ${JUGGLER_DETECTOR}/requirements.txt
fi
rm -rf "${JUGGLER_DETECTOR}/.git" rm -rf "${JUGGLER_DETECTOR}/.git"
## We need an up-to-date copy of the detector ## We need an up-to-date copy of the detector
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment