Do not create venv in .envrc
This commit is contained in:
parent
0b59069714
commit
23bd67c4c3
1 changed files with 0 additions and 11 deletions
11
.envrc
11
.envrc
|
|
@ -1,5 +1,3 @@
|
||||||
VIRTUAL_ENV="$PWD/venv"
|
|
||||||
|
|
||||||
if type lorri &>/dev/null; then
|
if type lorri &>/dev/null; then
|
||||||
# https://github.com/target/lorri
|
# https://github.com/target/lorri
|
||||||
eval "$(lorri direnv)"
|
eval "$(lorri direnv)"
|
||||||
|
|
@ -7,12 +5,3 @@ else
|
||||||
# fall back to using direnv's builtin nix support
|
# fall back to using direnv's builtin nix support
|
||||||
use nix
|
use nix
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e venv ]
|
|
||||||
then
|
|
||||||
python -m venv "${VIRTUAL_ENV}"
|
|
||||||
fi
|
|
||||||
export VIRTUAL_ENV
|
|
||||||
PATH_add "$VIRTUAL_ENV/bin"
|
|
||||||
unset SSL_CERT_FILE
|
|
||||||
unset NIX_SSL_CERT_FILE
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue