Skip to content

Commit 9807234

Browse files
author
Matthias Koeppe
committed
pyproject.toml: Single-source version from VERSION
1 parent 37154c3 commit 9807234

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ backend-path = ["."]
99

1010
[project]
1111
name = "cypari2"
12-
version = "2.1.4"
1312
description = "A Python interface to the number theory library PARI/GP"
1413
authors = [
1514
{name = "Luca De Feo, Vincent Delecroix, Jeroen Demeyer, Vincent Klein"},
@@ -24,6 +23,12 @@ requires-python = ">=3.9"
2423
readme = "README.rst"
2524
license = {text = "GNU General Public License, version 2 or later"}
2625
keywords = ["PARI/GP number theory"]
26+
dynamic = [
27+
"version",
28+
]
2729

2830
[project.urls]
2931
Homepage = "https://github.com/sagemath/cypari2"
32+
33+
[tool.setuptools.dynamic]
34+
version = {file = "VERSION"}

0 commit comments

Comments
 (0)