on v1.0.0 help sign in
searx/setup.py
78 lines 2.2 kB history raw
1# -*- coding: utf-8 -*-
2"""Installer for Searx package."""
4from setuptools import setup
5from setuptools import find_packages
7import os
8import sys
10from searx.version import VERSION_STRING
11from searx import brand
13with open('README.rst', encoding='utf-8') as f:
14 long_description = f.read()
16with open('requirements.txt') as f:
17 requirements = [ l.strip() for l in f.readlines()]
19with open('requirements-dev.txt') as f:
20 dev_requirements = [ l.strip() for l in f.readlines()]
22setup(
23 name='searx',
24 version=VERSION_STRING,
25 description="A privacy-respecting, hackable metasearch engine",
26 long_description=long_description,
27 url=brand.DOCS_URL,
28 project_urls={
29 "Code": brand.GIT_URL,
30 "Issue tracker": brand.ISSUE_URL
31 },
32 classifiers=[
33 "Development Status :: 4 - Beta",
34 "Programming Language :: Python",
35 "Topic :: Internet",
36 "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
37 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
38 'License :: OSI Approved :: GNU Affero General Public License v3'
39 ],
40 keywords='metasearch searchengine search web http',
41 author='Adam Tauber',
42 author_email='asciimoo@gmail.com',
43 license='GNU Affero General Public License',
44 packages=find_packages(exclude=["tests*", "searx_extra"]),
45 zip_safe=False,
46 install_requires=requirements,
47 extras_require={
48 'test': dev_requirements
49 },
50 entry_points={
51 'console_scripts': [
52 'searx-run = searx.webapp:run',
53 'searx-checker = searx.search.checker.__main__:main'
54 ]
55 },
56 package_data={
57 'searx': [
58 'settings.yml',
59 '../README.rst',
60 '../requirements.txt',
61 '../requirements-dev.txt',
62 'data/*',
63 'plugins/*/*',
64 'static/*.*',
65 'static/*/*.*',
66 'static/*/*/*.*',
67 'static/*/*/*/*.*',
68 'static/*/*/*/*/*.*',
69 'templates/*/*.*',
70 'templates/*/*/*.*',
71 'tests/*',
72 'tests/*/*',
73 'tests/*/*/*',
74 'translations/*/*/*'
75 ],
76 },