diff pyproject.toml @ 406:deabdfed3b96

For current Python versions use an intree build backend that wraps setuptools.build_meta. Augmenting the generated sdist archive is now done automatically.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 17 Feb 2026 16:15:31 +0100
parents 3beac9c85781
children d3429477cd55 3e28e5aacb8a
line wrap: on
line diff
--- a/pyproject.toml	Tue Feb 17 15:59:14 2026 +0100
+++ b/pyproject.toml	Tue Feb 17 16:15:31 2026 +0100
@@ -2,10 +2,11 @@
 [build-system]
 requires = [
     "setuptools>=77.0",
-    "wheel>=0.33",
-    "tomli; python_version<'3.11'"
+    "wheel>=0.33"
 ]
-build-backend = "setuptools.build_meta"
+# This is a intree wrapper for setuptools.build_meta
+build-backend = "cutils_build"
+backend-path = ["intree-build-helper"]
 
 [project]
 name = "py-cutils"