From f576cadfba11dd96788f5c70e63fba4a70899584 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 21 May 2020 15:46:43 +0200 Subject: [fix] installation instructions: pip install -e searx (setup.py) In the past we did not really install searx into the virtualenv. This is a problem, since entry-points and other python installation stuff is not trigger. See discussion: https://github.com/asciimoo/searx/pull/1938#issuecomment-632056508 Signed-off-by: Markus Heiser --- docs/build-templates/searx.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst index 964deb23d..5cb70e95f 100644 --- a/docs/build-templates/searx.rst +++ b/docs/build-templates/searx.rst @@ -112,8 +112,15 @@ ${fedora_build} $SEARX_PYENV/bin/python Python 3.8.1 + # update pip's boilerplate .. + pip install -U pip + pip install -U setuptools + pip install -U wheel + + # jump to searx's working tree and install searx into virtualenv (${SERVICE_USER})$ cd "$SEARX_SRC" - (${SERVICE_USER})$ ./manage.sh update_packages + (${SERVICE_USER})$ pip install -e . + .. END manage.sh update_packages -- cgit v1.2.3