pyproject.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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.2.2"
  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. trackingmore = [
  40. "trackingmore @ git+https://kumig.it/kumitterer/trackingmore-api-tool.git",
  41. ]
  42. e2ee = [
  43. "pantalaimon",
  44. ]
  45. all = [
  46. "matrix-gptbot[openai,wolframalpha,trackingmore,e2ee]",
  47. "geopy",
  48. "beautifulsoup4",
  49. ]
  50. dev = [
  51. "matrix-gptbot[all]",
  52. "black",
  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"]