summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAge
* [mod] replace /help by /info pages and include pages in project docsMarkus Heiser2022-03-12
| | | | | | | | | | | | | | | | | This patch implements a bolierplate to share content from info-pages of the SearXNG instance (URL /info) with the project documentation (path /docs/user). The info pages are using Markdown (CommonMark), to include them in the project documentation (reST) the myst-parser [1] is used in the Sphinx-doc build chain. If base_url is known (defined in settings.yml) links to the instance are also inserted into the project documentation:: searxng_extra/docs_prebuild [1] https://www.sphinx-doc.org/en/master/usage/markdown.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* Fix setup.py help folderGaspard d'Hautefeuille2022-01-29
|
* reference docs.searxng.orgAlexandre Flament2022-01-02
|
* [fix] PR #646Alexandre Flament2021-12-23
|
* SearXNG: searxng_extraAlexandre Flament2021-10-02
|
* SearXNG: .github, searxng-dockerAlexandre Flament2021-10-01
|
* version based on the git repositoryAlexandre Flament2021-07-30
| | | | | | | | This commit remove the need to update the brand for GIT_URL and GIT_BRANCH: there are read from the git repository. It is possible to call python -m searx.version freeze to freeze the current version. Useful when the code is installed outside git (distro package, docker, etc...)
* [mod] drop usage of the searx.brand namespace (python procs)Markus Heiser2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added function searx.get_setting(name, default=_unset): Returns the value to which ``name`` point. If there is no such name in the settings and the ``default`` is unset, a KeyError exception is raised. In all the python processes .. - make docs - make buildenv - make install (setup.py) the usage of the 'brand.*' name space is replaced by 'searx.get_setting' function. - brand.SEARX_URL --> get_setting('server.base_url') - brand.GIT_URL --> get_setting('brand.git_url') - brand.GIT_BRANCH' --> get_setting('server.base_url') - brand.ISSUE_URL --> get_setting('brand.issue_url') - brand.DOCS_URL --> get_setting('brand.docs_url') - brand.PUBLIC_INSTANCES --> get_setting('brand.public_instances') - brand.CONTACT_URL --> get_setting('general.contact_url', '') - brand.WIKI_URL --> get_setting('brand.wiki_url') - brand.TWITTER_URL --> get_setting('brand.twitter_url', '') Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* Add searx_extra packageAlexandre Flament2021-03-04
| | | | | | Split the utils directory into: * searx_extra contains update scripts, standalone_searx.py * utils contains the files to build and setup searx.
* [enh] checker: background checkAlexandre Flament2021-01-12
| | | | | | See settings.yml for the options SIGUSR1 signal starts the checker. The result is available at /stats/checker
* [mod] get rid of searx/brand.pyMarkus Heiser2021-01-11
| | | | | | | | | Removes module searx/brand.py and creates a namespace at searx.brand. This patch is a first 'proof of concept'. Later we can decide to remove the brand namespace entirely or not. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [fix] set encoding of README.rst explicit in setup.py (utf-8) (#2117)Markus Heiser2020-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | ## What does this PR do? When installing searx on a centos-7 image [1] an encoding exception is raised from setup.py:: command: /usr/local/searx/searx-pyenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/usr/local/searx/searx-src/setup.py'"'"'; __file__='"'"'/usr/local/searx/searx-src/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-pidntzkq cwd: /usr/local/searx/searx-src/ Complete output (7 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/searx/searx-src/setup.py", line 16, in <module> long_description = f.read() File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 482: ordinal not in range(128) [1] https://uk.images.linuxcontainers.org/ ## Why is this change important? README.rst uses non ASCII characters _(pronunciation səːks.)_ ## How to test this PR locally? install searx on a centos-7 image from https://uk.images.linuxcontainers.org/
* brands: add ISSUE_URLMarkus Heiser2020-03-25
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [fix] brands: add variables from build env to setup.pyMarkus Heiser2020-03-25
| | | | | | | | We have some variables in the build environment which are also needed in the setup.py process. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* seatup.py: fix [dev_]requirements and open file with contextMarkus Heiser2019-11-28
| | | | | | | | | | setup(..) named arguments 'install_requires' and 'extras_require' need lists arguments, the <map object> is ignored when installing extra environment 'test':: pip install -e .\[test\] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* setup: Skip test filesRobin Hallabro2018-11-03
| | | | Signed-off-by: Robin Hallabro <robin@hallabro.nu>
* [fix] missing requirements files from setup.py - closes #572Adam Tauber2016-05-30
|
* [enh] setup.py requirements ++ new foldersAdam Tauber2016-01-10
|
* [fix] data directory added to setup.py package_dataAdam Tauber2015-05-24
|
* [fix] setup.py package data update - fixes #323Adam Tauber2015-05-19
|
* [fix] SSL : SNI supportAlexandre Flament2015-04-26
|
* Copy all the folders of 'static'Cqoicebordel2015-01-17
| | | | Copy the new generic themes folders, with js, font, and css
* [enh] add result_templates/code.htmlThomas Pointhuber2014-12-20
|
* [enh] gevent/grequests changed to the built-in threading libAdam Tauber2014-12-05
|
* Adding `import sys` to fix the installerReventl0v2014-11-27
|
* [enh] make version of searx readableThomas Pointhuber2014-11-18
|
* change package data in setup.py for oscar themeMatej Cotman2014-11-14
|
* [enh][fix] https rewrite rules added to setup.pyAdam Tauber2014-10-19
|
* [enh] setup.py keywordsAdam Tauber2014-09-06
|
* [enh] setup.py classifiersAdam Tauber2014-08-08
|
* [deploy] new pypi package (0.3.1)Adam Tauber2014-07-07
|
* change package data pathsMatej Cotman2014-06-16
|
* simplify datetime extractionThomas Pointhuber2014-03-18
|
* [enh] 0.3.0 pypi versionAdam Tauber2014-03-08
|
* add xml templates to setup.pyMatej Cotman2014-02-21
|
* [fix] translations pathasciimoo2014-02-13
|
* add view testsMatej Cotman2014-01-31
|
* [enh] new version - 0.2.0asciimoo2014-01-30
|
* [enh] configurable localizationasciimoo2014-01-22
|
* [mod] ui localization init - new dependency: flask-babelasciimoo2014-01-22
|
* [mod] setup.py version, README updateasciimoo2014-01-21
|
* fix: robot fw, entry points, some flake8, package searx eggMatej Cotman2014-01-20
|
* [enh] settings unification - new dependency: pyyamlasciimoo2014-01-19
|
* tests and robot tests framework, build overhaulMatej Cotman2014-01-14