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