From 19af77e22937064ba310e29ea7d1256ec79c53d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sat, 25 Jan 2025 08:43:31 +0100 Subject: [PATCH] MNT: add explicit configuration for setuptools-scm to pyproject.toml --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c7e4034..72bf535 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "setuptools>=61.2", - "setuptools_scm>=6.2", + "setuptools_scm>=8.0.0", "wheel", "jinja2>=2.10.3", "numpy>=2.0.0rc1", @@ -47,6 +47,9 @@ include-package-data = false exclude = ["erfa._dev"] namespaces = false +[tool.setuptools_scm] +version_file = "erfa/_version.py" + [tool.pytest.ini_options] minversion = "4.6" testpaths = ["erfa", "docs", "README.rst"]