pyproject.toml 972 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. refresh-homestay = "room_cal.service_api._scripts:refresh_homestay_cookies"
  17. booking-2fa = "room_cal.service_api._scripts:_trigger_booking_chat_auth_cli"
  18. room-cal = "room_cal.actions._cli:main"
  19. room-api = "room_cal.api._server:main"
  20. room-mcp = "room_cal.mcp._server:main"
  21. [dependency-groups]
  22. api = [
  23. "fastapi>=0.115",
  24. "uvicorn[standard]>=0.30",
  25. ]
  26. mcp = [
  27. "fastmcp>=2.0",
  28. ]
  29. dev = [
  30. {include-group = "api"},
  31. {include-group = "mcp"},
  32. "pytest",
  33. "pytest-asyncio",
  34. "pytest-xdist",
  35. ]
  36. [tool.hatch.build.targets.wheel]
  37. packages = ["room_cal"]
  38. [tool.pytest.ini_options]
  39. pythonpath = ["."]
  40. asyncio_mode = "auto"
  41. addopts = "-n auto --dist=loadfile"