pyproject.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.0"
  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. ]
  35. wolframalpha = [
  36. "wolframalpha",
  37. ]
  38. trackingmore = [
  39. "trackingmore @ git+https://kumig.it/kumitterer/trackingmore-api-tool.git",
  40. ]
  41. all = [
  42. "matrix-gptbot[openai,wolframalpha,trackingmore]",
  43. ]
  44. dev = [
  45. "matrix-gptbot[all]",
  46. "black",
  47. ]
  48. [project.urls]
  49. "Homepage" = "https://kumig.it/kumitterer/matrix-gptbot"
  50. "Bug Tracker" = "https://kumig.it/kumitterer/matrix-gptbot/issues"
  51. [project.scripts]
  52. gptbot = "gptbot:main"
  53. [tool.hatch.build.targets.wheel]
  54. packages = ["src/gptbot"]