Files
xmcp/pyproject.toml
T
woggioni 5db454f8c8 build: derive package version from git via setuptools-scm
Replace hatchling and the static version with setuptools + setuptools-scm,
following Kaya's pre-uv packaging setup: dynamic version, generated
_version.py, and release/* tag prefix. The Docker builder now includes git
and the .git directory so the image is versioned from the checkout. CI
checks out full history and tags for the tag-triggered builds.
2026-10-22 04:03:08 +00:00

28 lines
572 B
TOML

[project]
name = "xmcp"
dynamic = ["version"]
description = "MCP server generated from an OpenAPI specification, built with FastMCP"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"fastmcp>=4.1,<5",
"httpx2>=2.5",
"pyyaml>=6.0",
]
[project.scripts]
xmcp = "xmcp.server:main"
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
version_file = "src/xmcp/_version.py"
[tool.setuptools_scm.tag]
prefix = "release/"