Skip to content

Commit a71ed6a

Browse files
committed
get package version from rest_framework.__version__
1 parent c2062da commit a71ed6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "djangorestframework"
7-
version = "3.14.0"
87
authors = [{name = "Tom Christie", email = "[email protected]"}]
98
license = {text = "BSD"}
109
description = "Web APIs for Django, made easy."
@@ -38,6 +37,10 @@ dependencies = [
3837
"django>=3.0",
3938
'backports.zoneinfo;python_version<"3.9"',
4039
]
40+
dynamic = ["version"]
41+
42+
[tool.setuptools.dynamic]
43+
version = {attr = "rest_framework.__version__"}
4144

4245
[project.readme]
4346
file = "README.md"

0 commit comments

Comments
 (0)