# HG changeset patch # User Augie Fackler # Date 1606845124 18000 # Node ID d13afdd1f6e25282f68a62c6ffa7b407a4ab2fec # Parent 63a3941d9847e954c086ff349c4ba7ecc71cfad1 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 diff -r 63a3941d9847 -r d13afdd1f6e2 pyproject.toml --- /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" diff -r 63a3941d9847 -r d13afdd1f6e2 tests/test-check-code.t --- 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