mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Version: rely on pyproject.toml and setuptools_scm
Move brand information to Python package rather than settings.yml `pip install .` works with the right version. Dependencies are moved to setup.py requirements.txt contains the dev dependencies. requirements-dev.txt is removed "make install" is broken
This commit is contained in:
parent
675dc04917
commit
3a14cf0efe
6 changed files with 98 additions and 76 deletions
|
|
@ -488,9 +488,6 @@ EOF
|
|||
info_msg "install needed python packages"
|
||||
tee_stderr 0.1 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix"
|
||||
pip install -U pip
|
||||
pip install -U setuptools
|
||||
pip install -U wheel
|
||||
pip install -U pyyaml
|
||||
cd ${SEARXNG_SRC}
|
||||
pip install -e .
|
||||
EOF
|
||||
|
|
@ -558,9 +555,6 @@ cd ${SEARXNG_SRC}
|
|||
git fetch origin "$GIT_BRANCH"
|
||||
git reset --hard "origin/$GIT_BRANCH"
|
||||
pip install -U pip
|
||||
pip install -U setuptools
|
||||
pip install -U wheel
|
||||
pip install -U pyyaml
|
||||
pip install -U -e .
|
||||
EOF
|
||||
rst_para "update instance's settings.yml from ${SEARXNG_SETTINGS_PATH}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue