pyproject: add config file
This will tell pip et al to call our setup.py for the majority of
packaging concerns, but also gives us a place to put standard config
stuff like black.
This was previously D9833, but was rolled back due to test
breakage. nbjoerg thinks that breakage is now resolved, so we're
trying again.
Differential Revision: https://phab.mercurial-scm.org/D10184
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pyproject.toml Tue Dec 01 12:52:04 2020 -0500
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools", "wheel"]
+build-backend = "setuptools.build_meta"
--- a/tests/test-check-code.t Tue Mar 16 12:52:23 2021 +0100
+++ b/tests/test-check-code.t Tue Dec 01 12:52:04 2020 -0500
@@ -70,6 +70,7 @@
hg
hgeditor
hgweb.cgi
+ pyproject.toml
rustfmt.toml
setup.py