Initial commit
This commit is contained in:
commit
02ad5fed3d
17 changed files with 1232 additions and 0 deletions
18
.envrc
Normal file
18
.envrc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
VIRTUAL_ENV="$PWD/venv"
|
||||
|
||||
if type lorri &>/dev/null; then
|
||||
# https://github.com/target/lorri
|
||||
eval "$(lorri direnv)"
|
||||
else
|
||||
# fall back to using direnv's builtin nix support
|
||||
use nix
|
||||
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