Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

[fix] utils/serax.sh create_pyenv() - drop duplicate 'pip install .' #2621

Merged
merged 1 commit into from Mar 3, 2021
Merged

[fix] utils/serax.sh create_pyenv() - drop duplicate 'pip install .' #2621

merged 1 commit into from Mar 3, 2021

Conversation

return42
Copy link
Contributor

@return42 return42 commented Mar 3, 2021

The wrong and unnecessary pip install . is executed in /usr/local/searx and is responsible for the error message:

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /usr/local/searx

The correct pip-install comes right after changing to cd ${SEARX_SRC}.

How to test this PR locally?

In LXC you can use:

sudo -H ./utils/lxc.sh install suite searx-ubu1804

Otherwise test by installing on the localhost:

sudo -H ./utils/searx.sh install user
sudo -H ./utils/searx.sh install searx-src
sudo -H ./utils/searx.sh install pyenv

To remove the installation from localhost use:

sudo -H ./utils/searx.sh remove user

The wrong and unnecessary `pip install .` is executed in /usr/local/searx and is
responsible for the error message:

    ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /usr/local/searx

The correct pip-install comes right after changing to `cd ${SEARX_SRC}`.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
@kvch kvch merged commit 111d38c into searx:master Mar 3, 2021
@return42 return42 deleted the fix-searx.sh branch March 4, 2021 06:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants