pyproject.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. "numpy>=1.26",
  13. "pydantic-settings>=2.6",
  14. "sqlalchemy[asyncio]>=2.0.36",
  15. "uvicorn>=0.35",
  16. ]
  17. [project.scripts]
  18. script-build-host = "script_build_host.cli:main"
  19. [project.optional-dependencies]
  20. dev = [
  21. "aiosqlite>=0.20",
  22. "mypy>=1.13",
  23. "pytest>=8.3",
  24. "pytest-asyncio>=0.24",
  25. "ruff>=0.8",
  26. ]
  27. [build-system]
  28. requires = ["setuptools>=75"]
  29. build-backend = "setuptools.build_meta"
  30. [tool.setuptools.packages.find]
  31. where = ["src"]
  32. [tool.setuptools.package-data]
  33. "script_build_host.agents.prompts" = ["*.md"]
  34. [tool.uv.sources]
  35. cyber-agent = { path = "../agent", editable = true }
  36. [tool.pytest.ini_options]
  37. asyncio_mode = "auto"
  38. testpaths = ["tests"]
  39. markers = ["mysql: requires an explicit SCRIPT_BUILD_TEST_MYSQL_DSN"]
  40. [tool.ruff]
  41. line-length = 100
  42. target-version = "py311"
  43. [tool.ruff.lint]
  44. select = ["E", "F", "I", "UP", "B", "ASYNC", "RUF"]
  45. [tool.mypy]
  46. python_version = "3.11"
  47. strict = true
  48. packages = ["script_build_host"]
  49. [[tool.mypy.overrides]]
  50. module = ["agent", "agent.*"]
  51. follow_imports = "skip"
  52. ignore_missing_imports = true