diff --git a/pyproject.toml b/pyproject.toml index da6d4b0..14a9a89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,12 @@ [build-system] -requires = ["uv_build>=0.9.6,<0.11.0"] -build-backend = "uv_build" +requires = ["flit_core >=3.11,<5"] +build-backend = "flit_core.buildapi" -[tool.uv.build-backend] -source-include = ["tests/**"] -module-name = "cachecontrol" -module-root = "" +[tool.flit.module] +name = "cachecontrol" + +[tool.flit.sdist] +include = ["tests/"] [project]