Skip to content

Commit aa50ae5

Browse files
Copilota-schur
andcommitted
Investigate dynamic field parsing in pyproject.toml
Co-authored-by: a-schur <227858738+a-schur@users.noreply.github.com>
1 parent 8fd84e2 commit aa50ae5

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[tool.setuptools]
2+
dynamic.version = {attr = "test.__init__.__version__"}
3+
4+
[project]
5+
name = "test"
6+
dynamic = ["version"]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools]
6+
dynamic.version = {attr = "test.__init__.__version__"}
7+
8+
[project]
9+
name = "test"
10+
dynamic = ["version"]
11+
dependencies = [
12+
"requests==2.31.0",
13+
]

0 commit comments

Comments
 (0)