mcp-calculator/pyproject.toml
2026-09-15 20:38:16 +02:00

44 lines
997 B
TOML

[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "mcp-calculator"
version = "1.2.0"
description = "MCP server that gives LLMs exact, deterministic math: symbolic algebra, calculus, linear algebra, statistics, units."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Proprietary" }
dependencies = [
"mcp>=2.2,<3",
"sympy>=1.13",
"mpmath>=1.3",
"numpy>=2.0",
"scipy>=1.13",
"pint>=0.24",
"pebble>=5.1",
"prometheus-client>=0.20",
"starlette>=0.40",
"uvicorn>=0.30",
]
[project.optional-dependencies]
dev = [
"ruff>=0.6",
]
[project.scripts]
mcp-calculator = "mcp_calculator.__main__:main"
mcp-calculator-admin = "mcp_calculator.admin_cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_calculator"]
[tool.ruff]
line-length = 160
target-version = "py312"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
ignore = ["E501", "B008", "UP007"]