|
|
|
|
|
by fictorial
1107 days ago
|
|
I use a variation of this with direnv and asdf and it's fine, no problems. asdf install python 3.11.0
asdf local python 3.11.0 # .tool-versions
python -m venv .venv
echo >.envrc <<EOF
export VIRTUAL_ENV=.venv
export PATH=.venv/bin:$PATH
EOF
direnv allow .
Now I just `cd` to project directories and I'm good to go. |
|