pyproject.toml 796 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "room-cal"
  6. version = "0.1.0"
  7. requires-python = ">=3.14"
  8. dependencies = [
  9. "caldav",
  10. "httpx>=0.27",
  11. "icalendar",
  12. ]
  13. [project.scripts]
  14. refresh-creds = "room_cal.service_api._scripts:refresh_cookies"
  15. room-cal = "room_cal.actions._cli:main"
  16. room-api = "room_cal.api._server:main"
  17. room-mcp = "room_cal.mcp._server:main"
  18. [dependency-groups]
  19. api = [
  20. "fastapi>=0.115",
  21. "uvicorn[standard]>=0.30",
  22. ]
  23. mcp = [
  24. "fastmcp>=2.0",
  25. ]
  26. dev = [
  27. {include-group = "api"},
  28. {include-group = "mcp"},
  29. "pytest",
  30. "pytest-asyncio",
  31. "pytest-xdist",
  32. ]
  33. [tool.hatch.build.targets.wheel]
  34. packages = ["room_cal"]
  35. [tool.pytest.ini_options]
  36. pythonpath = ["."]
  37. asyncio_mode = "auto"
  38. addopts = "-n auto --dist=loadfile"