pyproject.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [build-system]
  2. requires = ["setuptools>=68.0"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "hermes-chatto-plugin"
  6. version = "1.0.0"
  7. description = "Chatto platform adapter for Hermes Agent (includes vendored chattolib)"
  8. requires-python = ">=3.11"
  9. license = {text = "MIT"}
  10. authors = [
  11. {name = "liv", email = "paul@klumpp.de"},
  12. ]
  13. #[project.entry-points."hermes_agent.plugins"]
  14. #hermes-chatto-plugin = "hermes-chatto-plugin"
  15. [dependency-groups]
  16. dev = [
  17. "pytest>=9.0",
  18. "pytest-asyncio>=0.24",
  19. ]
  20. [tool.setuptools.packages.find]
  21. where = ["."]
  22. [tool.pytest.ini_options]
  23. # importlib mode: the plugin root is itself a package (__init__.py), so pytest's
  24. # default "prepend" mode tries to import the test modules as part of it, which
  25. # fails because the checkout directory name is not a valid Python identifier.
  26. addopts = "--import-mode=importlib"
  27. asyncio_mode = "auto"
  28. # Only our own tests — vendor/ ships the upstream test suites of some packages.
  29. testpaths = ["test_adapter.py", "test_platform_config.py"]
  30. norecursedirs = ["vendor", "myvenv", ".venv"]