using_uv/s.sh
2025-10-19 23:37:17 -04:00

18 lines
461 B
Bash
Executable file

#!/bin/bash
if [ -d .venv ]; then
rm -rf .venv
fi
python3 -m venv .venv --upgrade-deps
export JUPYTERLAB_SETTINGS_DIR="${PWD}/.jupyter/lab/user-settings"
export JUPYTER_DATA_DIR="${PWD}/.jupyter/data"
export JUPYTER_CONFIG_DIR="${PWD}/.jupyter"
. .venv/bin/activate
pip install -r requirements.txt
# pip install --no-index --find-links ./.local-libraries tufte
# pip install --no-index --find-links ./.local-libraries clear-run-to-selected
jupyter lab