Skip to content

Commit 759f68c

Browse files
committed
feat: Swap to uv native build backend and add upgrade target in Makefile
1 parent 6891bff commit 759f68c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ install:
22
uv sync
33
npm install -g @mermaid-js/mermaid-cli
44

5+
upgrade:
6+
uv sync -U
7+
58
lint:
69
uv run ruff check .
710

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ dependencies = [
2525
"streamlit>=1.45.1",
2626
]
2727

28-
[tool.hatch.build.targets.wheel]
29-
packages = ["agents_mcp_usage"]
28+
[tool.uv.build-backend]
29+
module-name = "agents_mcp_usage"
30+
module-root = ""
3031

3132
[build-system]
32-
requires = ["hatchling"]
33-
build-backend = "hatchling.build"
33+
requires = ["uv_build>=0.7.19,<0.8.0"]
34+
build-backend = "uv_build"

0 commit comments

Comments
 (0)