logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

setup.py (2062B)


  1. # -*- coding: utf-8 -*-
  2. """Installer for Searx package."""
  3. from setuptools import setup
  4. from setuptools import find_packages
  5. import os
  6. import sys
  7. # required to load VERSION_STRING constant
  8. sys.path.insert(0, './searx')
  9. from version import VERSION_STRING
  10. def read(*rnames):
  11. return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
  12. long_description = read('README.rst')
  13. requirements = map(str.strip, open('requirements.txt').readlines())
  14. dev_requirements = map(str.strip, open('requirements-dev.txt').readlines())
  15. setup(
  16. name='searx',
  17. version=VERSION_STRING,
  18. description="A privacy-respecting, hackable metasearch engine",
  19. long_description=long_description,
  20. classifiers=[
  21. "Development Status :: 4 - Beta",
  22. "Programming Language :: Python",
  23. "Topic :: Internet",
  24. "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
  25. "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
  26. 'License :: OSI Approved :: GNU Affero General Public License v3'
  27. ],
  28. keywords='metasearch searchengine search web http',
  29. author='Adam Tauber',
  30. author_email='asciimoo@gmail.com',
  31. url='https://github.com/asciimoo/searx',
  32. license='GNU Affero General Public License',
  33. packages=find_packages('.'),
  34. zip_safe=False,
  35. install_requires=requirements,
  36. extras_require={
  37. 'test': dev_requirements
  38. },
  39. entry_points={
  40. 'console_scripts': [
  41. 'searx-run = searx.webapp:run'
  42. ]
  43. },
  44. package_data={
  45. 'searx': [
  46. 'settings.yml',
  47. '../README.rst',
  48. '../requirements.txt',
  49. '../requirements-dev.txt',
  50. 'data/*',
  51. 'plugins/*/*',
  52. 'static/*.*',
  53. 'static/*/*.*',
  54. 'static/*/*/*.*',
  55. 'static/*/*/*/*.*',
  56. 'static/*/*/*/*/*.*',
  57. 'templates/*/*.*',
  58. 'templates/*/*/*.*',
  59. 'tests/*',
  60. 'tests/*/*',
  61. 'tests/*/*/*',
  62. 'translations/*/*/*'
  63. ],
  64. },
  65. )