From e567d3f39715ed5aff2f7d6cd42c8e8e9494779d Mon Sep 17 00:00:00 2001 From: Jost Migenda Date: Mon, 24 Jun 2024 15:53:11 +0100 Subject: [PATCH] add `setuptools_scm` Without this, *.h files are not automatically included in the sdist, so building from the sdist (e.g. using `python -m build`) fails --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 387044a..06b927c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=69.0", "pybind11"] +requires = ["setuptools>=69.0", "setuptools_scm>=8", "pybind11"] build-backend = "setuptools.build_meta" [project]