From d8c2d8393f6173213c4c9e756d887e14bc681d5d Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 1 Apr 2026 14:41:09 -0600 Subject: [PATCH 1/3] build: replace the setuptools build system with uv --- pyproject.toml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e73e31f..21d4861 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,12 +21,8 @@ dev = [ ] [build-system] -requires = ["setuptools >= 61.0"] -build-backend = "setuptools.build_meta" - -[tool.setuptools.packages.find] -where = ["./"] -include = ["leanframe"] +requires = ["uv_build>=0.11.2,<0.12.0"] +build-backend = "uv_build" [tool.ruff] exclude = ["scratch", "vault"] From 93087669c540a43abf9f295a48c8df9b939298ae Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 1 Apr 2026 14:44:14 -0600 Subject: [PATCH 2/3] build: specify `module-root` to enable flat layout --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 21d4861..2effc77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ dev = [ [build-system] requires = ["uv_build>=0.11.2,<0.12.0"] build-backend = "uv_build" +module-root = "" [tool.ruff] exclude = ["scratch", "vault"] From bcd60e2542215a7f8af8c194206d5bc904d2dcb4 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 1 Apr 2026 14:46:58 -0600 Subject: [PATCH 3/3] build: use correct `tool.uv.build-backend` section --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2effc77..878132d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ dev = [ [build-system] requires = ["uv_build>=0.11.2,<0.12.0"] build-backend = "uv_build" + +[tool.uv.build-backend] module-root = "" [tool.ruff]