Skip to content

Commit

Permalink
fix version inference from tags
Browse files Browse the repository at this point in the history
  • Loading branch information
lbluque committed May 25, 2022
1 parent f5b47bf commit 7fc1ac9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "setuptools-scm[toml]"]
requires = ["setuptools>=45", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -26,5 +26,5 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules"
]

[tool.setuptools.dynamic]
version = {attr = "sparselm.__version__"}
# pyproject.toml
[tool.setuptools_scm]

0 comments on commit 7fc1ac9

Please sign in to comment.