SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[mod] more robust make pyenv / make pyenvinstall
Alexandre Flamentd70c5a621a3a
diff --git a/utils/makefile.python b/utils/makefile.pythonindex 345434384..287012398 100644--- a/utils/makefile.python+++ b/utils/makefile.python@@ -99,7 +99,8 @@ quiet_cmd_pyinstall = INSTALL $2quiet_cmd_pyenvinstall = PYENV install $2cmd_pyenvinstall = \if ! cat $(PY_ENV)/requirements.sha256 2>/dev/null | sha256sum --check --status 2>/dev/null; then \- $(PY_ENV_BIN)/python -m pip $(PIP_VERBOSE) install -e $2$(PY_SETUP_EXTRAS) ;\+ rm -f $(PY_ENV)/requirements.sha256; \+ $(PY_ENV_BIN)/python -m pip $(PIP_VERBOSE) install -e $2$(PY_SETUP_EXTRAS) &&\sha256sum requirements*.txt > $(PY_ENV)/requirements.sha256 ;\else \echo "PYENV $2 already installed"; \@@ -119,13 +120,13 @@ quiet_cmd_pyenvuninstall = PYENV uninstall $2# $2 path to folder where virtualenv take placequiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activatecmd_virtualenv = \- if [ ! -d "./$(PY_ENV)" ];then \- $(PYTHON) -m venv $(VTENV_OPTS) $2; \+ if [ -d "./$(PY_ENV)" -a -x "./$(PY_ENV_BIN)/python" ]; then \+ echo "PYENV using virtualenv from $2"; \+ else \+ $(PYTHON) -m venv $(VTENV_OPTS) $2; \$(PY_ENV_BIN)/python -m pip install $(PIP_VERBOSE) -U pip wheel setuptools; \- $(PY_ENV_BIN)/python -m pip install $(PIP_VERBOSE) -r requirements.txt; \- else \- echo "PYENV using virtualenv from $2"; \- fi+ $(PY_ENV_BIN)/python -m pip install $(PIP_VERBOSE) -r requirements.txt; \+ fi# $2 path to lintquiet_cmd_pylint = LINT $@