pyproject.toml 1.0 KB

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