From e543d3046f5a28c4e45e7ddd752362d90ab0b4b3 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 29 Jan 2024 10:11:16 +0000 Subject: [PATCH] Use flit_core as build system And specify a version range - this should ensure building from source still works (with flit_core 3.x) when 4.x is out with changes. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4fe5de4..1ec5350 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["flit"] -build-backend = "flit.buildapi" +requires = ["flit_core >=2,<4"] +build-backend = "flit_core.buildapi" [tool.flit.metadata] module = "solo"