direnv: Support pip
This commit is contained in:
parent
c4d547885a
commit
303bbd8294
1 changed files with 5 additions and 0 deletions
|
@ -51,8 +51,13 @@ project_node() {
|
|||
}
|
||||
|
||||
project_python() {
|
||||
export PYTHONUSERBASE=$(direnv_layout_dir)/python-user
|
||||
path_add PYTHONPATH $(realpath $PYTHONUSERBASE/lib/python*/site-packages)
|
||||
|
||||
export POETRY_HOME=$(direnv_layout_dir)/poetry/data
|
||||
export POETRY_CACHE_DIR=$(direnv_layout_dir)/poetry/cache
|
||||
|
||||
PATH_add $PYTHONUSERBASE/bin
|
||||
}
|
||||
|
||||
project_ruby() {
|
||||
|
|
Loading…
Reference in a new issue