Browse Source

Merge pull request #2473 from return42/fix-setup.py

[fix] setup.py requires pyyaml installed
Alexandre Flament 4 years ago
parent
commit
709dd960f1
2 changed files with 3 additions and 0 deletions
  1. 1 0
      docs/build-templates/searx.rst
  2. 2 0
      utils/searx.sh

+ 1 - 0
docs/build-templates/searx.rst

@@ -116,6 +116,7 @@ ${fedora_build}
        pip install -U pip
        pip install -U setuptools
        pip install -U wheel
+       pip install -U pyyaml
 
        # jump to searx's working tree and install searx into virtualenv
        (${SERVICE_USER})$ cd \"$SEARX_SRC\"

+ 2 - 0
utils/searx.sh

@@ -333,6 +333,7 @@ git pull
 pip install -U pip
 pip install -U setuptools
 pip install -U wheel
+pip install -U pyyaml
 pip install -U -e .
 EOF
     install_settings
@@ -503,6 +504,7 @@ EOF
 pip install -U pip
 pip install -U setuptools
 pip install -U wheel
+pip install -U pyyaml
 pip install -U -e .
 cd ${SEARX_SRC}
 pip install -e .