Files
mcp-template-python/pyproject.toml
2025-08-07 19:05:18 +08:00

41 lines
897 B
TOML

[project]
name = "mcp-template-python"
version = "0.1.2"
description = "MCP Template for Python Projects"
readme = "README.md"
authors = [
{ name = "Sun-ZhenXing", email = "1006925066@qq.com" }
]
requires-python = ">=3.10"
dependencies = [
"fastapi[standard]>=0.115.0",
"mcp[cli]>=1.10.0",
"pydantic-settings>=2.5.0",
]
[project.scripts]
mcp-template-python = "mcp_template_python.__main__:main"
dev = "mcp_template_python.__main__:dev"
prod = "mcp_template_python.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/mcp_template_python/__about__.py"
[tool.hatch.build.targets.sdist]
only-include = ["src/mcp_template_python"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "TID"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "parents"
[dependency-groups]
dev = [
"ruff>=0.12.7",
]