Add script to create Python virtual environment

This commit is contained in:
2025-11-04 09:14:10 +01:00
parent 05c9e5184c
commit d3344b8799

8
make-venv.sh Executable file
View File

@@ -0,0 +1,8 @@
#! /usr/bin/env bash
python3 -m venv .venv
./.venv/bin/pip install --upgrade pip
./.venv/bin/pip install -r requirements.txt
echo "Add the following alias to your shell configuration file (e.g., .bashrc or .zshrc):"
echo "alias v_env='test -d $(pwd)/.venv && . $(pwd)/.venv/bin/activate'"