Skip to content

Commit 8ab44d9

Browse files
author
Jacob Truman
committed
XENG-8985 Reference version file directly in pyproject.toml
1 parent ffa5e7e commit 8ab44d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "buildrunner"
77
description = "Docker-based build tool"
88
readme = "README.rst"
9-
requires-python = ">=3.6"
9+
requires-python = ">=3.9"
1010
license = {text = "MIT"}
1111
authors = [
1212
{name = "Adobe", email = "[email protected]"}
@@ -18,6 +18,7 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
1818
[tool.setuptools.dynamic]
1919
dependencies = {file = ["requirements.txt"]}
2020
optional-dependencies = {test = { file = ["test_requirements.txt"] }}
21+
version = {attr = "buildrunner.version.__version__"}
2122

2223
[project.scripts]
2324
buildrunner = "buildrunner.cli:main"

0 commit comments

Comments
 (0)