From 2b370ac012e50d6e32be47b71cf01e7a3c11ed14 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 13 Apr 2025 22:14:04 +0800 Subject: [PATCH 1/3] Update [ghstack-poisoned] --- codemcp/agno.py | 4 +--- pyproject.toml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/codemcp/agno.py b/codemcp/agno.py index 89a090a..665dfac 100644 --- a/codemcp/agno.py +++ b/codemcp/agno.py @@ -62,9 +62,7 @@ async def serve_playground_app_async( async def main(): - async with MCPTools( - f"{sys.executable()} -m codemcp.hot_reload_entry" - ) as codemcp: + async with MCPTools(f"{sys.executable()} -m codemcp.hot_reload_entry") as codemcp: # TODO: cli-ify the model agent = Agent( model=Claude(id="claude-3-7-sonnet-20250219"), diff --git a/pyproject.toml b/pyproject.toml index f1c8631..4801cce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,19 @@ codemcp-multi = "codemcp.multi_entry:main" requires = ["hatchling"] build-backend = "hatchling.build" +[tool.hatch.build.targets.wheel] +packages = ["codemcp"] + +[tool.hatch.build.targets.sdist] +include = [ + "/codemcp", + "/README.md", + "pyproject.toml", +] + +[tool.hatch.build.force-include] +"codemcp/templates" = "codemcp/templates" + [tool.uv] [tool.ruff] From 7781132b00e1dc7eed1be612786717171e35c995 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 14 Apr 2025 11:46:11 +0800 Subject: [PATCH 2/3] Update [ghstack-poisoned] --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4801cce..b6446e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,17 +45,15 @@ build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["codemcp"] +include = ["codemcp/templates/**/*"] [tool.hatch.build.targets.sdist] include = [ - "/codemcp", + "/codemcp/**/*", "/README.md", "pyproject.toml", ] -[tool.hatch.build.force-include] -"codemcp/templates" = "codemcp/templates" - [tool.uv] [tool.ruff] From 43554644dd60fd39488abdc828391de1c44ffee1 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Mon, 14 Apr 2025 11:48:40 +0800 Subject: [PATCH 3/3] Update [ghstack-poisoned] --- pyproject.toml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b6446e2..d55d3dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,16 +44,8 @@ requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] -packages = ["codemcp"] include = ["codemcp/templates/**/*"] -[tool.hatch.build.targets.sdist] -include = [ - "/codemcp/**/*", - "/README.md", - "pyproject.toml", -] - [tool.uv] [tool.ruff]