diff --git a/mcp-server/pyproject.toml b/mcp-server/pyproject.toml index 4ccd8d2c..449b60d7 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"