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