mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
[Scripts] Force upgrade requirements.
Force the upgrade of requirements with pip. At the moment, if the version in the requirement file is changed, there will be no effect, because the dependencies is already present.
This commit is contained in:
@@ -18,12 +18,12 @@ ACTION="$1"
|
|||||||
update_packages() {
|
update_packages() {
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install --upgrade setuptools
|
pip install --upgrade setuptools
|
||||||
pip install -r "$BASE_DIR/requirements.txt"
|
pip install -Ur "$BASE_DIR/requirements.txt"
|
||||||
}
|
}
|
||||||
|
|
||||||
update_dev_packages() {
|
update_dev_packages() {
|
||||||
update_packages
|
update_packages
|
||||||
pip install -r "$BASE_DIR/requirements-dev.txt"
|
pip install -Ur "$BASE_DIR/requirements-dev.txt"
|
||||||
}
|
}
|
||||||
|
|
||||||
install_geckodriver() {
|
install_geckodriver() {
|
||||||
|
|||||||
Reference in New Issue
Block a user