Initial commit
This commit is contained in:
commit
c694b3a52a
19 changed files with 956 additions and 0 deletions
11
.envrc
Normal file
11
.envrc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# .envrc for Python projects using a .venv directory
|
||||
|
||||
VENV_DIR=".venv"
|
||||
if [ ! -d "$VENV_DIR" ]; then
|
||||
echo "direnv: creating Python virtual environment in '$VENV_DIR'..."
|
||||
python3 -m venv "$VENV_DIR"
|
||||
fi
|
||||
|
||||
source_env "$VENV_DIR/bin/activate"
|
||||
|
||||
export PIP_CACHE_DIR=".pip_cache"
|
||||
Loading…
Add table
Add a link
Reference in a new issue