Skip to content

Commit bd1bd89

Browse files
committed
Configure setuptools-scm to generate version
Signed-off-by: John Pennycook <[email protected]>
1 parent a6583ce commit bd1bd89

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pyproject.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
# SPDX-License-Identifier: BSD-3-Clause
33
[build-system]
44
build-backend = "setuptools.build_meta"
5-
requires = ["setuptools >= 61.0"]
5+
requires = ["setuptools>=64", "setuptools-scm>=8"]
66

77
[project]
88
authors = [
99
{"name" = "S. John Pennycook", "email" = "[email protected]"},
1010
]
1111
description = "Code Base Investigator"
12-
version = "1.2.0"
13-
dynamic = ["readme"]
12+
dynamic = ["version", "readme"]
1413
keywords = ["performance", "portability", "productivity"]
1514
name = "codebasin"
1615
requires-python = ">=3.9"
@@ -61,6 +60,9 @@ include = ["codebasin*"]
6160
[tool.setuptools.dynamic]
6261
readme = {file = ["README.md"]}
6362

63+
[tool.setuptools_scm]
64+
# Deliberately empty to enable setuptools-scm
65+
6466
[tool.coverage.run]
6567
command_line = "-m unittest"
6668
source = ["codebasin"]

0 commit comments

Comments
 (0)