From bcb0f362319f3c978c1327c254725a05d7f99b4f Mon Sep 17 00:00:00 2001 From: Adrien Morison Date: Wed, 4 Sep 2024 23:41:57 +0100 Subject: [PATCH] use hatchling build backend --- .gitignore | 1 - pyproject.toml | 10 +++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 81bb3a1..1f52834 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ *.swp __pycache__/ /.coverage -/build /uv.lock diff --git a/pyproject.toml b/pyproject.toml index fa0d68c..e5f6ece 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61"] -build-backend = "setuptools.build_meta" +requires = ["hatchling>=1.25"] +build-backend = "hatchling.build" [project] name = "loam" @@ -31,12 +31,8 @@ dependencies = [ "toml>=0.10.2", ] -[tool.setuptools.packages.find] +[tool.hatch.build.targets.sdist] include = ["loam"] -namespaces = false - -[tool.setuptools.package-data] -loam = ["py.typed"] [tool.pytest.ini_options] testpaths = ["tests"]