Skip to content
Snippets Groups Projects

build_detector.sh: pip install requirements

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -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
Loading