searxng/setup.py
Markus Heiser 191818b865
[mod] drop SearXNG's checker (#5767)
To date, there is no analysis for the checker that could be evaluated in any
meaningful way.

- https://github.com/searxng/searxng/issues/3407
- https://github.com/searxng/searxng/pull/3312

The checker would need to be completely redesigned, but even then, its
usefulness and the maintenance required for it would be disproportionate.

TBH: In its current form, it is useless and only consumes resources and
causes the engines to be blocked, because these tests (query terms) come
from *hundreds* of instances and could be interpreted as bot attacks.

Related issues: [search.checker](https://github.com/searxng/searxng/issues?q=label%3A%22search.checker%22)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2026-02-22 14:44:21 +01:00

70 lines
2.1 KiB
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""Installer for SearXNG package."""
from setuptools import setup, find_packages
from searx.version import VERSION_TAG, GIT_URL
from searx import get_setting
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt') as f:
requirements = [l.strip() for l in f.readlines()]
with open('requirements-dev.txt') as f:
dev_requirements = [l.strip() for l in f.readlines()]
setup(
name='searxng',
description="SearXNG is a metasearch engine. Users are neither tracked nor profiled.",
long_description=long_description,
license="AGPL-3.0-or-later",
author='SearXNG',
author_email='contact@searxng.org',
python_requires=">=3.10",
version=VERSION_TAG,
keywords='metasearch searchengine search web http',
url=get_setting('brand.docs_url'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
project_urls={"Code": GIT_URL, "Issue tracker": get_setting('brand.issue_url')},
entry_points={
'console_scripts': ['searxng-run = searx.webapp:run']
},
packages=find_packages(
include=[
'searx',
'searx.*',
'searx.*.*',
'searx.*.*.*',
]
),
package_data={
'searx': [
'settings.yml',
'*.toml',
'*.msg',
'data/*.json',
'data/*.txt',
'data/*.ftz',
'favicons/*.toml',
'infopage/**',
'static/**',
'templates/**',
'translations/**',
],
},
install_requires=requirements,
extras_require={'test': dev_requirements},
)