on 5bfaabe help sign in
searx/setup.py
84 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
10# required to load VERSION_STRING constant
11sys.path.insert(0, './searx')
12from version import VERSION_STRING
15def read(*rnames):
16 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
19long_description = read('README.rst')
21setup(
22 name='searx',
23 version=VERSION_STRING,
24 description="A privacy-respecting, hackable metasearch engine",
25 long_description=long_description,
26 classifiers=[
27 "Development Status :: 4 - Beta",
28 "Programming Language :: Python",
29 "Topic :: Internet",
30 "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
31 "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
32 'License :: OSI Approved :: GNU Affero General Public License v3'
33 ],
34 keywords='metasearch searchengine search web http',
35 author='Adam Tauber',
36 author_email='asciimoo@gmail.com',
37 url='https://github.com/asciimoo/searx',
38 license='GNU Affero General Public License',
39 packages=find_packages('.'),
40 zip_safe=False,
41 install_requires=[
42 'flask',
43 'flask-babel',
44 'requests',
45 'lxml',
46 'pyyaml',
47 'setuptools',
48 'python-dateutil',
49 ],
50 extras_require={
51 'test': [
52 'coverage',
53 'flake8',
54 'mock',
55 'plone.testing',
56 'robotframework',
57 'robotframework-debuglibrary',
58 'robotframework-httplibrary',
59 'robotframework-selenium2library',
60 'robotsuite',
61 'unittest2',
62 'zope.testrunner',
63 ]
64 },
65 entry_points={
66 'console_scripts': [
67 'searx-run = searx.webapp:run'
68 ]
69 },
70 package_data={
71 'searx': [
72 'settings.yml',
73 '../README.rst',
74 'static/*/*/*.*',
75 'static/*/*/*/*.*',
76 'static/*/*/*/*/*.*',
77 'translations/*/*/*',
78 'templates/*/*.*',
79 'templates/*/*/*.*',
80 'https_rules/*.xml'
81 ],
82 },