You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Markus Heiser 3c45fb7a99
[fix] set encoding of README.rst explicit in setup.py (utf-8) (#2117)
## 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/
4 years ago
dockerfiles [enh] update documentation about docker 4 years ago
docs [enh] add external plugin support 4 years ago
examples Fix whitespaces 8 years ago
searx Fix google images 'get image' button bug from issue #2103 (#2115) 4 years ago
tests Created new plugin type custom_results. Added new plugin bang_redirect (#2027) 4 years ago
utils [enh] add centos-7 to LXC images (#2118) 4 years ago
.codecov.yml codecov : update the commit status 7 years ago
.config.sh tooling box: added nginx + polished bash scripts and environment 4 years ago
.coveragerc Cover searx.utils 10 years ago
.dir-locals.el .dir-locals.el: add some comments about jedi & EPC 5 years ago
.dockerignore [enh] update documentation about docker 4 years ago
.gitattributes [enh] add simple theme (WIP) 7 years ago
.gitignore Merge PR #1900 of https://github.com/asciimoo/searx into filtron 4 years ago
.landscape.yaml Add landscape.io configuration 10 years ago
.pylintrc boilerplate: add pylint / WIP: balance linting with pylint 5 years ago
.travis.yml [mod] remove py2 from travis tests 4 years ago
AUTHORS.rst add peertube engine (#2109) 4 years ago
CHANGELOG.rst [enh] release v0.17.0 4 years ago
CONTRIBUTING.md Add PR template and contribution guidelines 4 years ago
Dockerfile Dockerfile: upgrade base to alpine 3.12 (#1983) 4 years ago
LICENSE [fix] full AGPLv3+ license according to #382 9 years ago
Makefile Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme 4 years ago
PULL_REQUEST_TEMPLATE.md Add PR template and contribution guidelines 4 years ago
README.rst [README] searx, world's first gluten free search engine ;) 4 years ago
babel.cfg [enh] babel.cfg added 11 years ago
manage.sh Merge branch 'master' into fix/manage.sh 4 years ago
requirements-dev.txt Merge branch 'master' of https://github.com/asciimoo/searx into filtron 4 years ago
requirements.txt [mod] requirements.txt: upgrade dependency versions. 4 years ago
setup.py [fix] set encoding of README.rst explicit in setup.py (utf-8) (#2117) 4 years ago
tox.ini [enh] tox.ini added to rewrite standard pep8 rules 10 years ago

README.rst

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

.. SPDX-License-Identifier: AGPL-3.0-or-later

.. figure:: https://raw.githubusercontent.com/asciimoo/searx/master/searx/static/themes/oscar/img/logo_searx_a.png
   :target: https://asciimoo.github.io/searx/
   :alt: searX
   :width: 100%
   :align: center

-------

|searx install|
|searx homepage|
|searx wiki|
|AGPL License|
|Issues|
|commits|
|OpenCollective searx backers|
|OpenCollective searx sponsors|

Privacy-respecting, hackable `metasearch engine`_ / *pronunciation* **səːks**.

.. _metasearch engine: https://en.wikipedia.org/wiki/Metasearch_engine

.. |searx install| image:: https://img.shields.io/badge/-install-blue
   :target: https://asciimoo.github.io/searx/admin/installation.html

.. |searx homepage| image:: https://img.shields.io/badge/-homepage-blue
   :target: https://asciimoo.github.io/searx

.. |searx wiki| image:: https://img.shields.io/badge/-wiki-blue
   :target: https://github.com/asciimoo/searx/wiki

.. |AGPL License|  image:: https://img.shields.io/badge/license-AGPL-blue.svg
   :target: https://github.com/asciimoo/searx/blob/master/LICENSE

.. |Issues| image:: https://img.shields.io/github/issues/asciimoo/searx?color=yellow&label=issues
   :target: https://github.com/asciimoo/searx/issues

.. |PR| image:: https://img.shields.io/github/issues-pr-raw/asciimoo/searx?color=yellow&label=PR
   :target: https://github.com/asciimoo/searx/pulls

.. |commits| image:: https://img.shields.io/github/commit-activity/y/asciimoo/searx?color=yellow&label=commits
   :target: https://github.com/asciimoo/searx/commits/master

.. |OpenCollective searx backers| image:: https://opencollective.com/searx/backers/badge.svg
   :target: https://opencollective.com/searx#backer

.. |OpenCollective searx sponsors| image:: https://opencollective.com/searx/sponsors/badge.svg
   :target: https://opencollective.com/searx#sponsor


If you are looking for running instances, ready to use, then visit searx.space_.

Otherwise jump to the user_, admin_ and developer_ handbooks you will find on
our homepage_.

.. _searx.space: https://searx.space
.. _user: https://asciimoo.github.io/searx/user
.. _admin: https://asciimoo.github.io/searx/admin
.. _developer: https://asciimoo.github.io/searx/dev
.. _homepage: https://asciimoo.github.io/searx

contact:
  openhub_ // twitter_ // IRC: #searx @ freenode

.. _openhub: https://www.openhub.net/p/searx
.. _twitter: https://twitter.com/Searx_engine

-------

|gluten free|

.. |gluten free| image:: https://forthebadge.com/images/featured/featured-gluten-free.svg