Skip to content

Commit 5d0c117

Browse files
committed
Fix building from sdist
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
1 parent c6e6b59 commit 5d0c117

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "scikit-build"]
2+
requires = ["setuptools>=42", "wheel", "scikit-build"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)