[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "iterfact"
version = "0.1.1"
description = "Installable CLI and MCP server for IterFact interactive documents."
readme = "README.pypi.md"
requires-python = ">=3.10"
dependencies = [
  "mcp[cli]>=1.11.0",
  "starlette>=0.46.0",
  "uvicorn[standard]>=0.34.0",
  "httpx>=0.28.0",
  "boto3>=1.37.0",
  "python-dotenv>=1.0.1",
  "playwright>=1.54.0",
  "claude-agent-sdk>=0.1.50",
  "htmlmin>=0.1.12",
  "rcssmin>=1.1.2",
  "rjsmin>=1.2.2",
]
authors = [{ name = "IterFact" }]
keywords = ["iterfact", "mcp", "interactive-documents", "artifacts"]
classifiers = [
  "Programming Language :: Python :: 3",
  "Programming Language :: Python :: 3 :: Only",
  "Programming Language :: Python :: 3.10",
  "Programming Language :: Python :: 3.11",
  "Operating System :: OS Independent",
]

[project.scripts]
iterfact = "iterfact.cli:main"
iterfact-mcp = "iterfact.cli:mcp_main"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["."]
include = ["iterfact", "MCP"]
exclude = ["MCP.bundled", "MCP.bundled.*", "MCP.static", "MCP.static.*", "MCP.templates", "MCP.templates.*"]

[tool.setuptools.package-data]
MCP = [
  "static/*",
  "templates/*",
  "bundled/IterFact-template-vault/*",
  "bundled/IterFact-template-vault/**/*",
  "quality_cases.json",
  "regression_cases.json",
  ".env.example",
  "README.md",
]
