webapps / hmc /reference /scripts /make-venv.sh
gdevenyi's picture
hmc: NiFreeze 3bcfb00 and QSIPrep 26.1.1 SHORELine reference runs on ds005577 sub-107 (part 9)
a4ba047 verified
Raw History Blame Contribute Delete
521 Bytes
#!/usr/bin/env bash
# NiFreeze venv at main 3bcfb00, Python 3.12.
set -euo pipefail
export TMPDIR=/var/tmp/dwi-tmp
export UV_CACHE_DIR=/var/tmp/dwi-hmc/uv-cache
V=/var/tmp/dwi-hmc/nifreeze-venv
uv venv --python 3.12 "$V"
uv pip install --python "$V/bin/python" "nifreeze @ git+https://github.com/nipreps/nifreeze.git@3bcfb00"
uv pip freeze --python "$V/bin/python" > /var/tmp/dwi-hmc/nifreeze-pip-freeze.txt
"$V/bin/python" -I -c "import sys, nifreeze; print(sys.version); print(nifreeze.__version__, nifreeze.__file__)"