From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Tue, 2 Jun 2026 21:33:34 +0800
Subject: Switch build backend to make mypyc binaries

Forwarded: not-needed

Inspired by running `python3 scripts/use_setuptools.py`
---
 pyproject.toml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index b19260a..17f764c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,9 @@
 [build-system]
-requires = ["flit_core>=3.12,<4"]
-build-backend = "flit_core.buildapi"
+requires = [
+    "setuptools>=69",
+    "mypy[mypyc]>=1.13",
+]
+build-backend = "setuptools.build_meta"
 
 [project]
 name = "tomli"
