From f35ab0aa9156bea952bb053461602a3e94016755 Mon Sep 17 00:00:00 2001 From: Nils-Christian Iseke <48475933+Nils-ChristianIseke@users.noreply.github.com> Date: Wed, 13 Dec 2023 10:25:51 +0100 Subject: [PATCH] Adding build-system to pyproject.toml If using an older version of setuptools, the installation of nnunet fails (#1832). Adding the requirement of using setuptoosl >=69.0.2 should resolve this issue. I had no time to test it yet, and it might also work with lower version than 69.0.2. Before merging this should be tested. --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 91bc31563..6b55c7bad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,6 +86,10 @@ dev = [ "pre-commit" ] +[build-system] +requires = ["setuptools>=69.0.2"] +build-backend = "setuptools.build_meta" + [tool.codespell] skip = '.git,*.pdf,*.svg' #