changeset 46453:45afff0f530a

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
author Augie Fackler <augie@google.com>
date Tue, 01 Dec 2020 12:52:04 -0500
parents f2c4224e6648
children d4c8b4b90ecb
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	Thu Jan 14 16:37:10 2021 +0530
+++ 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