# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1606845124 18000
#      Tue Dec 01 12:52:04 2020 -0500
# Node ID 45afff0f530a48b232a655ecd1af3978cef25b11
# Parent  f2c4224e66483512d48997485114bf5c8a7e1080
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.

Differential Revision: https://phab.mercurial-scm.org/D9833

diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools", "wheel"]
+build-backend = "setuptools.build_meta"
diff --git a/tests/test-check-code.t b/tests/test-check-code.t
--- a/tests/test-check-code.t
+++ b/tests/test-check-code.t
@@ -70,6 +70,7 @@
   hg
   hgeditor
   hgweb.cgi
+  pyproject.toml
   rustfmt.toml
   setup.py