changeset 46773:d13afdd1f6e2

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
author Augie Fackler <augie@google.com>
date Tue, 01 Dec 2020 12:52:04 -0500
parents 63a3941d9847
children decc3bd3f20d
files pyproject.toml tests/test-check-code.t
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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