Skip to content

Commit fb0b517

Browse files
MCP: Switch build from setuptools to hatch (#130)
1 parent 34e63e6 commit fb0b517

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

mcp-server/pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@ homepage = "https://polaris.apache.org/"
5151
repository = "https://github.com/apache/polaris-tools/"
5252

5353
[build-system]
54-
requires = ["setuptools>=68.0"]
55-
build-backend = "setuptools.build_meta"
54+
requires = ["hatchling"]
55+
build-backend = "hatchling.build"
5656

57-
[tool.setuptools.packages.find]
58-
where = ["."]
59-
include = ["polaris_mcp*"]
57+
[tool.hatch.build.targets.sdist]
58+
include = ["polaris_mcp"]
59+
60+
[tool.hatch.build.targets.wheel]
61+
include = ["polaris_mcp"]
6062

6163
[[tool.uv.index]]
6264
name = "pypi"

0 commit comments

Comments
 (0)