Skip to content

Commit

Permalink
add setuptools_scm
Browse files Browse the repository at this point in the history
Without this, *.h files are not automatically included in the sdist, so building from the sdist (e.g. using `python -m build`) fails
  • Loading branch information
JostMigenda committed Jun 24, 2024
1 parent ea69318 commit e567d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit e567d3f

Please sign in to comment.