Skip to content

Commit 1ef7ade

Browse files
committed
move some metadata from setup.cfg to pyproject.toml
1 parent 1cbfe61 commit 1ef7ade

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = ['setuptools >= 47', 'wheel']
44

55
[project]
66
name = "Mako"
7-
version = "1.3.11"
7+
dynamic = ["version"]
88
description = "A super-fast templating language that borrows the best ideas from the existing templating languages."
99
readme = "README.rst"
1010
license = "MIT"
@@ -35,6 +35,7 @@ dependencies = [
3535
[project.urls]
3636
Homepage = "https://www.makotemplates.org/"
3737
Source = "https://github.com/sqlalchemy/mako"
38+
Documentation = "https://docs.makotemplates.org"
3839

3940
[project.scripts]
4041
mako-render = "mako.cmd:cmdline"
@@ -62,6 +63,9 @@ exclude = [
6263
"examples*"
6364
]
6465

66+
[tool.setuptools.dynamic]
67+
version = {attr = "mako.__version__"}
68+
6569
[tool.black]
6670
line-length = 79
6771
target-version = ['py38']

0 commit comments

Comments
 (0)