File size: 521 Bytes
a4ba047
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/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__)"