pyproject.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [tool.hatch.metadata]
  5. allow-direct-references = true
  6. [project]
  7. name = "matrix-gptbot"
  8. version = "0.3.5"
  9. authors = [
  10. { name="Kumi Mitterer", email="gptbot@kumi.email" },
  11. ]
  12. description = "Multifunctional Chatbot for Matrix"
  13. readme = "README.md"
  14. license = { file="LICENSE" }
  15. requires-python = ">=3.10"
  16. packages = [
  17. "src/gptbot"
  18. ]
  19. classifiers = [
  20. "Programming Language :: Python :: 3",
  21. "License :: OSI Approved :: MIT License",
  22. "Operating System :: OS Independent",
  23. ]
  24. dependencies = [
  25. "matrix-nio[e2e]",
  26. "markdown2[all]",
  27. "tiktoken",
  28. "python-magic",
  29. "pillow",
  30. ]
  31. [project.optional-dependencies]
  32. openai = [
  33. "openai>=1.2",
  34. "pydub",
  35. ]
  36. wolframalpha = [
  37. "wolframalpha",
  38. ]
  39. e2ee = [
  40. "pantalaimon>=0.10.5",
  41. ]
  42. all = [
  43. "matrix-gptbot[openai,wolframalpha,e2ee]",
  44. "geopy",
  45. "beautifulsoup4",
  46. ]
  47. dev = [
  48. "matrix-gptbot[all]",
  49. "black",
  50. "hatchling",
  51. "twine",
  52. "build",
  53. ]
  54. [project.urls]
  55. "Homepage" = "https://kumig.it/kumitterer/matrix-gptbot"
  56. "Bug Tracker" = "https://kumig.it/kumitterer/matrix-gptbot/issues"
  57. [project.scripts]
  58. gptbot = "gptbot:main"
  59. [tool.hatch.build.targets.wheel]
  60. packages = ["src/gptbot"]