pyproject.toml 896 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. "aiosqlite>=0.22.1",
  10. "caldav",
  11. "httpx>=0.27",
  12. "icalendar",
  13. ]
  14. [project.scripts]
  15. refresh-creds = "room_cal.service_api._scripts:refresh_cookies"
  16. booking-2fa = "room_cal.service_api._scripts:_trigger_booking_chat_auth_cli"
  17. room-cal = "room_cal.actions._cli:main"
  18. room-api = "room_cal.api._server:main"
  19. room-mcp = "room_cal.mcp._server:main"
  20. [dependency-groups]
  21. api = [
  22. "fastapi>=0.115",
  23. "uvicorn[standard]>=0.30",
  24. ]
  25. mcp = [
  26. "fastmcp>=2.0",
  27. ]
  28. dev = [
  29. {include-group = "api"},
  30. {include-group = "mcp"},
  31. "pytest",
  32. "pytest-asyncio",
  33. "pytest-xdist",
  34. ]
  35. [tool.hatch.build.targets.wheel]
  36. packages = ["room_cal"]
  37. [tool.pytest.ini_options]
  38. pythonpath = ["."]
  39. asyncio_mode = "auto"
  40. addopts = "-n auto --dist=loadfile"