Add build-system to pyproject.toml

So doesn't use legacy stuff.

Fix #719.
This commit is contained in:
Ran Benita
2021-10-30 11:57:48 +03:00
parent f8a434e349
commit 130dcdef76
4 changed files with 15 additions and 4 deletions

View File

@@ -1,3 +1,15 @@
[build-system]
requires = [
# sync with setup.py until we discard non-pep-517/518
"setuptools>=45.0",
"setuptools-scm[toml]>=6.2.3",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/xdist/_version.py"
[tool.towncrier]
package = "xdist"
filename = "CHANGELOG.rst"