[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mofix"
version = "0.2.1"
description = "MoFix — Ascend NPU model workflow orchestration + full feature suite"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
dependencies = [
"fastapi>=0.110.0",
"uvicorn>=0.27.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"langchain>=0.2.0",
"langchain-core>=0.2.0",
"langchain-anthropic==1.6.1",
"anthropic==0.125.0",
"langgraph>=0.2.0",
"python-dotenv>=1.0.0",
"structlog>=24.0.0",
"huaweicloudsdklts>=3.1.0",
"httpx>=0.28.0",
"sse-starlette>=2.0.0",
"websockets>=14.0",
"mcp>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
]
[tool.setuptools]
py-modules = ["lts_logger"]
[tool.setuptools.packages.find]
where = ["."]
include = [
"app*",
"commands*",
"agents*",
"scripts*",
"examples*",
]
exclude = ["tests*", "skills*", "dashboard-frontend*"]
[tool.setuptools.package-data]
"app.model_agent" = ["LICENSE"]
"app.model_agent.dashboard" = ["static/*", "static/assets/*"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
extend-select = [
"I",
"UP",
"Q",
]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"