on v0.8.1 help sign in
searx/setup.py
93 lines 2.4 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 'pygments',
48 'setuptools',
49 'python-dateutil',
50 'pyopenssl',
51 'ndg-httpsclient',
52 'pyasn1',
53 'pyasn1-modules',
54 'certifi'
55 ],
56 extras_require={
57 'test': [
58 'coverage',
59 'flake8',
60 'mock',
61 'plone.testing',
62 'robotframework',
63 'robotframework-debuglibrary',
64 'robotframework-httplibrary',
65 'robotframework-selenium2library',
66 'robotsuite',
67 'unittest2',
68 'zope.testrunner',
69 ]
70 },
71 entry_points={
72 'console_scripts': [
73 'searx-run = searx.webapp:run'
74 ]
75 },
76 package_data={
77 'searx': [
78 'settings.yml',
79 '../README.rst',
80 'data/*',
81 'plugins/*/*',
82 'static/*.*',
83 'static/*/*.*',
84 'static/*/*/*.*',
85 'static/*/*/*/*.*',
86 'static/*/*/*/*/*.*',
87 'templates/*/*.*',
88 'templates/*/*/*.*',
89 'translations/*/*/*'
90 ],
91 },