From 44d2c27187660d8c3ea33a4110fb2f5ee55439f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bosch?= Date: Wed, 4 Dec 2024 08:05:24 +0100 Subject: [PATCH] build: use setuptools_scm --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fa076ce..375bb65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools>=74.1.0", "wheel", "cython", "numpy"] +requires = ["setuptools>=74.1.0", "setuptools_scm>=8", "wheel", "cython", "numpy"] build-backend = "setuptools.build_meta" [project] name = "pylandstats" -version = "3.0.1" +dynamic = ["version"] description = "Computing landscape metrics in the Python ecosystem." readme = "README.md" authors = [ @@ -48,6 +48,8 @@ doc = ["m2r2", "pydata-sphinx-theme", "sphinx"] [tool.setuptools.packages.find] include = ["pylandstats", "pylandstats.*"] +[tool.setuptools_scm] + [tool.ruff] line-length = 88