From 12bf88a4d60b73f6ef6cd04512b68c41e97bae07 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Mon, 2 Dec 2024 12:58:48 +0100 Subject: [PATCH] Switch to hatchling Can't upload to PyPI using uv+setuptools until https://github.com/pypa/setuptools/issues/4759 is solved, so switch to hatchling --- pyproject.toml | 5 ++--- tox.ini | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 81f61fc3..fe4393cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,6 @@ -# See https://setuptools.readthedocs.io/en/latest/build_meta.html [build-system] -requires = ["setuptools", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "bioversions" diff --git a/tox.ini b/tox.ini index 61846186..e554e1ee 100644 --- a/tox.ini +++ b/tox.ini @@ -208,7 +208,7 @@ deps = skip_install = true deps = uv - setuptools + hatchling commands = uv build --sdist --wheel --no-build-isolation