This is an automated email from the ASF dual-hosted git repository.

yufei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new fb0b517  MCP: Switch build from setuptools to hatch (#130)
fb0b517 is described below

commit fb0b517ef5b863dac42e1e0744ccf5c2e85c2d79
Author: Yong Zheng <[email protected]>
AuthorDate: Mon Jan 12 15:59:28 2026 -0600

    MCP: Switch build from setuptools to hatch (#130)
---
 mcp-server/pyproject.toml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/mcp-server/pyproject.toml b/mcp-server/pyproject.toml
index 4ccd8d2..449b60d 100644
--- a/mcp-server/pyproject.toml
+++ b/mcp-server/pyproject.toml
@@ -51,12 +51,14 @@ homepage = "https://polaris.apache.org/";
 repository = "https://github.com/apache/polaris-tools/";
 
 [build-system]
-requires = ["setuptools>=68.0"]
-build-backend = "setuptools.build_meta"
+requires = ["hatchling"]
+build-backend = "hatchling.build"
 
-[tool.setuptools.packages.find]
-where = ["."]
-include = ["polaris_mcp*"]
+[tool.hatch.build.targets.sdist]
+include = ["polaris_mcp"]
+
+[tool.hatch.build.targets.wheel]
+include = ["polaris_mcp"]
 
 [[tool.uv.index]]
 name = "pypi"

Reply via email to