aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-08-31 19:09:30 +0100
committerGravatar GitHub <[email protected]>2023-08-31 19:09:30 +0100
commit7303301fe01b79036e81304140546b166501b663 (patch)
treeee878a91c9c5b10c558dfbb39a53bf34cd37a6b4 /scripts
parentFix link in readme (#189) (diff)
Make CI and deployment.yaml share the same dependency install script (#190)
* Make CI and deployment.yaml share the same dependency install script * squashme: add set -euo pipefail as sane defaults This also requires running under bash rather than sh * squashme: add make target for installing eval deps
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install_eval_deps.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/install_eval_deps.sh b/scripts/install_eval_deps.sh
new file mode 100644
index 0000000..716d513
--- /dev/null
+++ b/scripts/install_eval_deps.sh
@@ -0,0 +1,5 @@
+set -euo pipefail
+
+export PYTHONUSERBASE=/snekbox/user_base
+find /lang/python -mindepth 1 -maxdepth 1 -type d -exec \
+ {}/bin/python -m pip install --user -U -r requirements/eval-deps.pip \;