Merge branch 'master' of https://github.com/asciimoo/searx into filtron
@@ -25,6 +25,7 @@ help:
25 @echo ' uninstall - uninstall (./local)'
25 @echo ' uninstall - uninstall (./local)'
26 @echo ' gh-pages - build docs & deploy on gh-pages branch'
26 @echo ' gh-pages - build docs & deploy on gh-pages branch'
27 @echo ' clean - drop builds and environments'
27 @echo ' clean - drop builds and environments'
28+ @echo ' project - re-build generic files of the searx project'
29 @echo 'environment'
30 @echo 'environment'
30 @echo ' SEARX_URL = $(SEARX_URL)'
31 @echo ' SEARX_URL = $(SEARX_URL)'
@@ -78,6 +79,18 @@ prebuild-includes:
78$(GH_PAGES)::
79$(GH_PAGES)::
79 @echo "doc available at --> $(DOCS_URL)"
80 @echo "doc available at --> $(DOCS_URL)"
82+# update project files
83+# --------------------
85+PHONY += project engines-languages
87+project: searx/data/engines_languages.json
89+searx/data/engines_languages.json: pyenvinstall
90+ $(PY_ENV_ACT); python utils/fetch_languages.py
91+ mv engines_languages.json searx/data/engines_languages.json
92+ mv languages.py searx/languages.py
@@ -5,6 +5,7 @@ mock==2.0.0
5nose2[coverage_plugin]
5nose2[coverage_plugin]
6cov-core==1.15.0
6cov-core==1.15.0
8plone.testing==5.0.0
9plone.testing==5.0.0
9splinter==0.11.0
10splinter==0.11.0
10transifex-client==0.12.2
11transifex-client==0.12.2
searx/data/engines_languages.json+28332−27487
This diff is too big to show here.
searx/engines/bing.py+14−9
This diff is too big to show here.
searx/engines/bing_images.py+2−19
This diff is too big to show here.
searx/engines/bing_news.py+3−1
This diff is too big to show here.
searx/engines/bing_videos.py+5−1
This diff is too big to show here.
searx/engines/google_news.py+1−1
This diff is too big to show here.
This diff is too big to show here.
utils/fetch_languages.py+13−10
This diff is too big to show here.