setup.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # -*- coding: utf-8 -*-
  2. # SPDX-License-Identifier: AGPL-3.0-or-later
  3. """
  4. Searx plugins from The Green Web Foundation
  5. tgwf-searx-plugins
  6. All results of searx queries that not hosted on a green infrastructure are
  7. filtered
  8. """
  9. from setuptools import setup
  10. GIT_URL='https://github.com/return42/tgwf-searx-plugins'
  11. setup(
  12. name = 'tgwf-searx-plugins'
  13. , version = '0.1'
  14. , description = 'The Green Web Foundation searx plugins'
  15. , long_description = __doc__
  16. , url = GIT_URL
  17. , author = 'The Green Web Foundation'
  18. , author_email = 'chris@productscience.co.uk'
  19. , project_urls = {
  20. "Code" : GIT_URL
  21. , "Issue tracker" : GIT_URL + "/issues"
  22. }
  23. , license = 'GNU Affero General Public License'
  24. , zip_safe = False
  25. , install_requires = """
  26. searx @ git+https://github.com/asciimoo/searx
  27. flask-babel
  28. """
  29. , py_modules = [
  30. 'only_show_green_results'
  31. ]
  32. , entry_points = {
  33. 'searx.plugins' : [
  34. 'tgwf.green-results = only_show_green_results'
  35. ]
  36. }
  37. )