mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] utils/lib.sh: add pyenv.activate
* initialize virtualenv (pyenv.install) * activate virtualenv close #310
This commit is contained in:
@@ -725,6 +725,14 @@ pyenv.cmd() {
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
pyenv.activate() {
|
||||
pyenv.install
|
||||
# shellcheck source=/dev/null
|
||||
source "${PY_ENV_BIN}/activate"
|
||||
}
|
||||
|
||||
|
||||
# Sphinx doc
|
||||
# ----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user