using_pip/t.sh

19 lines
415 B
Bash
Raw Normal View History

2025-10-20 03:23:45 +00:00
#!/bin/bash
2025-10-22 15:05:23 +00:00
#
# Set environment variables
2025-10-20 03:23:45 +00:00
export JUPYTERLAB_SETTINGS_DIR="${PWD}/.jupyter/lab/user-settings"
export JUPYTER_DATA_DIR="${PWD}/.jupyter/data"
export JUPYTER_CONFIG_DIR="${PWD}/.jupyter"
export VIRTUAL_ENV_PROMPT=.venv
2025-10-22 15:05:23 +00:00
# Set PATH to executables folder under .venv
#
# if [ "${UNAMESTR}" = 'Darwin' ]; then
export PATH=".venv/bin:$PATH"
else
export PATH=".venv/Scripts:$PATH"
fi
2025-10-20 03:23:45 +00:00
jupyter lab