-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
51 lines (44 loc) · 1.27 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "djangorestframework_versioning"
version = "2.1.0"
description = "Versioning tools for use with Django Rest Framework"
readme = "README.md"
authors = [{ name = "Robin Neville", email = "[email protected]" }]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["django", "REST framework", "versioning"]
dependencies = [
"django >=3.2",
"djangorestframework >=3.13.1",
"typing >=3.7.4.3",
"packaging >=3.0.9",
]
requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["black", "bumpver", "pytest"]
[project.urls]
Homepage = " https://github.com/binnev/djangorestframework_versioning"
[tool.setuptools.packages.find]
include = ["drf_versioning*"]
[tool.bumpver]
current_version = "2.1.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = false
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"',
]
"drf_versioning/__init__.py" = [
'__version__ = "{version}"',
]