mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 21:44:04 +03:00
get package version from rest_framework.__version__
This commit is contained in:
parent
c2062da244
commit
a71ed6aa64
|
@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "djangorestframework"
|
name = "djangorestframework"
|
||||||
version = "3.14.0"
|
|
||||||
authors = [{name = "Tom Christie", email = "tom@tomchristie.com"}]
|
authors = [{name = "Tom Christie", email = "tom@tomchristie.com"}]
|
||||||
license = {text = "BSD"}
|
license = {text = "BSD"}
|
||||||
description = "Web APIs for Django, made easy."
|
description = "Web APIs for Django, made easy."
|
||||||
|
@ -38,6 +37,10 @@ dependencies = [
|
||||||
"django>=3.0",
|
"django>=3.0",
|
||||||
'backports.zoneinfo;python_version<"3.9"',
|
'backports.zoneinfo;python_version<"3.9"',
|
||||||
]
|
]
|
||||||
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
version = {attr = "rest_framework.__version__"}
|
||||||
|
|
||||||
[project.readme]
|
[project.readme]
|
||||||
file = "README.md"
|
file = "README.md"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user