From c60047e19a328e4a69d85d953c4ff704a231b973 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 21 Sep 2020 18:23:02 -0400 Subject: [PATCH 1/2] feat: download scikit-build when building from source Specify build_meta backend because the default "setuptools.__legacy__" one often has issues. PyPA-build for example tends to break with the __legacy__ behavior, it also does not catch bugs with the SDist, while the build_meta behavior does See https://setuptools.readthedocs.io/en/latest/build_meta.html --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 867986a4..e9de491b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,3 +4,4 @@ requires = [ "setuptools", "wheel" ] +build-backend = "setuptools.build_meta" From a91c5bf63533436507ab6113906637f806abf4e5 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 21 Oct 2020 10:41:27 -0400 Subject: [PATCH 2/2] chore: min version of setuptools --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e9de491b..965f0b47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "scikit-build", - "setuptools", + "setuptools>=42", "wheel" ] build-backend = "setuptools.build_meta"