pyproject.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [project]
  2. name = "script-build-host"
  3. version = "0.1.0"
  4. description = "Script build business host backed by the generic cyber-agent orchestration framework"
  5. requires-python = ">=3.11"
  6. dependencies = [
  7. "alembic>=1.13",
  8. "asyncmy>=0.2.9",
  9. "cyber-agent",
  10. "fastapi>=0.115",
  11. "httpx>=0.28",
  12. "pydantic-settings>=2.6",
  13. "sqlalchemy[asyncio]>=2.0.36",
  14. "uvicorn>=0.35",
  15. ]
  16. [project.scripts]
  17. script-build-host = "script_build_host.cli:main"
  18. [project.optional-dependencies]
  19. dev = [
  20. "aiosqlite>=0.20",
  21. "mypy>=1.13",
  22. "pytest>=8.3",
  23. "pytest-asyncio>=0.24",
  24. "ruff>=0.8",
  25. ]
  26. [build-system]
  27. requires = ["setuptools>=75"]
  28. build-backend = "setuptools.build_meta"
  29. [tool.setuptools.packages.find]
  30. where = ["src"]
  31. [tool.setuptools.package-data]
  32. "script_build_host.agents.prompts" = ["*.md"]
  33. [tool.uv.sources]
  34. cyber-agent = { path = "../agent", editable = true }
  35. [tool.pytest.ini_options]
  36. asyncio_mode = "auto"
  37. testpaths = ["tests"]
  38. markers = ["mysql: requires an explicit SCRIPT_BUILD_TEST_MYSQL_DSN"]
  39. [tool.ruff]
  40. line-length = 100
  41. target-version = "py311"
  42. [tool.ruff.lint]
  43. select = ["E", "F", "I", "UP", "B", "ASYNC", "RUF"]
  44. [tool.mypy]
  45. python_version = "3.11"
  46. strict = true
  47. packages = ["script_build_host"]
  48. [[tool.mypy.overrides]]
  49. module = ["agent", "agent.*"]
  50. follow_imports = "skip"
  51. ignore_missing_imports = true