pyproject.toml 1.4 KB

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