pyproject.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "offpunk"
  6. authors = [
  7. {name = "Solderpunk", email = "solderpunk@sdf.org"},
  8. {name = "Lionel Dricot (Ploum)", email = "offpunk2@ploum.eu"},
  9. ]
  10. maintainers = [
  11. {name = "Lionel Dricot (Ploum)", email = "offpunk2@ploum.eu"},
  12. ]
  13. readme = "README.md"
  14. classifiers = [
  15. "Development Status :: 4 - Beta",
  16. "Environment :: Console",
  17. "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
  18. "Operating System :: OS Independent",
  19. "Programming Language :: Python :: 3 :: Only",
  20. "Topic :: Communications",
  21. "Topic :: Internet",
  22. ]
  23. keywords = ["gemini", "browser"]
  24. requires-python = ">=3.7"
  25. dynamic = ["version", "description"]
  26. [project.license]
  27. file = "LICENSE"
  28. [project.optional-dependencies]
  29. better-tofu = ["cryptography"]
  30. chardet = ["chardet"]
  31. html = ["bs4", "readability-lxml"]
  32. http = ["requests"]
  33. process-title = ["setproctitle"]
  34. rss = ["feedparser"]
  35. [project.urls]
  36. Homepage = "https://sr.ht/~lioploum/offpunk/"
  37. Source = "https://git.sr.ht/~lioploum/offpunk"
  38. "Bug Tracker" = "https://todo.sr.ht/~lioploum/offpunk"
  39. [project.scripts]
  40. offpunk = "offpunk:main"
  41. netcache = "netcache:main"
  42. ansicat = "ansicat:main"
  43. opnk = "opnk:main"
  44. [tool.hatch.version]
  45. path = "offpunk.py" # read __version__
  46. [tool.hatch.build.targets.wheel]
  47. only-include = [
  48. "ansicat.py", "netcache_migration.py", "netcache.py",
  49. "offblocklist.py", "offpunk.py", "offthemes.py",
  50. "offutils.py", "opnk.py",
  51. ]