setup.py 1.63 KB
Newer Older
1 2 3 4 5 6 7
# -*- coding: utf-8 -*-
"""Installer for Searx package."""

from setuptools import setup
from setuptools import find_packages


8 9
requirements = open('requirements.txt').read().splitlines()
dev_requirements = open('requirements-dev.txt').read().splitlines()
10 11 12

setup(
    name='searx',
13
    use_scm_version=True,
asciimoo's avatar
asciimoo committed
14
    description="A privacy-respecting, hackable metasearch engine",
15
    long_description=open('README.rst').read(),
16
    classifiers=[
Adam Tauber's avatar
Adam Tauber committed
17
        "Development Status :: 4 - Beta",
18
        "Programming Language :: Python",
Adam Tauber's avatar
Adam Tauber committed
19 20 21 22
        "Topic :: Internet",
        "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        'License :: OSI Approved :: GNU Affero General Public License v3'
23
    ],
Adam Tauber's avatar
Adam Tauber committed
24
    keywords='metasearch searchengine search web http',
25 26 27 28
    author='Adam Tauber',
    author_email='asciimoo@gmail.com',
    url='https://github.com/asciimoo/searx',
    license='GNU Affero General Public License',
Robin Hallabro's avatar
Robin Hallabro committed
29
    packages=find_packages(exclude=["tests*"]),
30
    zip_safe=False,
31
    install_requires=requirements,
32
    setup_requires=["setuptools_scm"],
33
    extras_require={
34
        'test': dev_requirements
35
    },
36 37 38 39 40 41 42 43
    entry_points={
        'console_scripts': [
            'searx-run = searx.webapp:run'
        ]
    },
    package_data={
        'searx': [
            'settings.yml',
44
            'data/*',
45
            'plugins/*/*',
46 47
            'static/*.*',
            'static/*/*.*',
48 49 50 51 52
            'static/*/*/*.*',
            'static/*/*/*/*.*',
            'static/*/*/*/*/*.*',
            'templates/*/*.*',
            'templates/*/*/*.*',
53
            'translations/*/*/*'
54 55
        ],
    },
56
)