mirror of
https://github.com/searxng/searxng.git
synced 2025-07-31 00:52:22 +02:00
[mod] utils/lib.sh: add pyenv.activate
* initialize virtualenv (pyenv.install) * activate virtualenv close #310
This commit is contained in:
parent
8905607d1c
commit
e5e322e8ed
2 changed files with 28 additions and 18 deletions
|
@ -725,6 +725,14 @@ pyenv.cmd() {
|
|||
)
|
||||
}
|
||||
|
||||
|
||||
pyenv.activate() {
|
||||
pyenv.install
|
||||
# shellcheck source=/dev/null
|
||||
source "${PY_ENV_BIN}/activate"
|
||||
}
|
||||
|
||||
|
||||
# Sphinx doc
|
||||
# ----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue