pyproject: add config file
authorAugie Fackler <augie@google.com>
Tue, 01 Dec 2020 12:52:04 -0500
changeset 46773 d13afdd1f6e2
parent 46772 63a3941d9847
child 46774 decc3bd3f20d
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
pyproject.toml
tests/test-check-code.t
--- /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