Skip to content

Commit

Permalink
build: use setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
martibosch committed Dec 4, 2024
1 parent f8ad65a commit 44d2c27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 44d2c27

Please sign in to comment.