Skip to content

Commit f9b16df

Browse files
committed
get package version from rest_framework.__version__
1 parent b16826c commit f9b16df

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 = "tom@tomchristie.com"}]
98
license = {text = "BSD"}
109
description = "Web APIs for Django, made easy."
@@ -37,6 +36,10 @@ dependencies = [
3736
"django>=3.0",
3837
'backports.zoneinfo;python_version<"3.9"',
3938
]
39+
dynamic = ["version"]
40+
41+
[tool.setuptools.dynamic]
42+
version = {attr = "rest_framework.__version__"}
4043

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

0 commit comments

Comments
 (0)