diff --git a/pyproject.toml b/pyproject.toml index 6e99d81f8f3..23f02cb5762 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,24 +234,8 @@ healthcheck = [ ] [build-system] -requires = ["maturin==1.9.4"] -build-backend = "maturin" - -[tool.maturin] -manifest-path = "litellm-rust/crates/python-bridge/Cargo.toml" -module-name = "litellm.rust_bridge._native" -python-source = "." -bindings = "pyo3" -exclude = [ - "litellm/proxy/enterprise", - "litellm/proxy/enterprise/**", - "**/__pycache__", - "**/__pycache__/**", - "**/.pytest_cache", - "**/.pytest_cache/**", - "**/.ruff_cache", - "**/.ruff_cache/**", -] +requires = ["uv_build==0.11.8"] +build-backend = "uv_build" [tool.uv] constraint-dependencies = [ @@ -269,6 +253,18 @@ litellm-enterprise = { workspace = true } [tool.uv.workspace] members = ["enterprise", "litellm-proxy-extras"] +[tool.uv.build-backend] +module-root = "" +source-exclude = [ + "litellm/proxy/enterprise", + "**/__pycache__", + "**/__pycache__/**", + "**/.pytest_cache", + "**/.pytest_cache/**", + "**/.ruff_cache", + "**/.ruff_cache/**", +] + [tool.isort] profile = "black"