setup.py 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # -*- coding: utf-8 -*-
  2. """Installer for Searx package."""
  3. from setuptools import setup
  4. from setuptools import find_packages
  5. import os
  6. def read(*rnames):
  7. return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
  8. long_description = read('README.rst')
  9. setup(
  10. name='searx',
  11. version="0.1.1",
  12. description="",
  13. long_description=long_description,
  14. classifiers=[
  15. "Programming Language :: Python",
  16. ],
  17. keywords='meta search engine',
  18. author='Adam Tauber',
  19. author_email='asciimoo@gmail.com',
  20. url='https://github.com/asciimoo/searx',
  21. license='GNU Affero General Public License',
  22. packages=find_packages('.'),
  23. zip_safe=False,
  24. install_requires=[
  25. 'flask',
  26. 'flask-babel',
  27. 'grequests',
  28. 'lxml',
  29. 'pyyaml',
  30. 'setuptools',
  31. ],
  32. extras_require={
  33. 'test': [
  34. 'coverage',
  35. 'flake8',
  36. 'plone.testing',
  37. 'robotframework',
  38. 'robotframework-debuglibrary',
  39. 'robotframework-httplibrary',
  40. 'robotframework-selenium2library',
  41. 'robotsuite',
  42. 'unittest2',
  43. 'zope.testrunner',
  44. ]
  45. },
  46. entry_points={
  47. 'console_scripts': [
  48. 'searx-run = searx.webapp:run'
  49. ]
  50. },
  51. package_data={
  52. 'searx': [
  53. 'settings.yml',
  54. '../README.rst',
  55. 'static/*/*',
  56. 'templates/*.html',
  57. 'templates/result_templates/*.html',
  58. ],
  59. },
  60. )