-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (77 loc) · 2.18 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[tool.poetry]
name = "django-ummai"
version = "0.3.0"
description = ""
authors = ["TreyWW"]
#readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
requests = "^2.31.0"
types-requests = "^2.31.0.20240311"
typing_extensions = "^4.10.0"
bump-my-version = "^0.19.3"
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
coverage = "^7.4.4"
[tool.poetry.group.mkdocs.dependencies]
mkdocs = "^1.5.3"
mkdocs-material = "^9.5.15"
mike = "2.0.0"
[tool.black]
line-length = 120
[build-system]
requires = ['setuptools>=40.8.0', 'django>=3.2']
build-backend = 'setuptools.build_meta'
[project]
name = "django-umami"
description = "A django package to connect to umami for tracking actions"
readme = "README.md"
authors = [
{name = "Trey", email="[email protected]"}
]
requires-python = ">=3.10"
license = {file = "LICENSE"}
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dynamic = [
"version"
]
dependencies = [
"Django>=3.2"
]
[tool.setuptools.dynamic]
version = {attr = "django_umami.__version__"}
[project.urls]
Homepage = "https://github.com/TreyWW/django-umami"
Issues = "https://github.com/TreyWW/django-umami/issues"
[tool.bumpversion]
current_version = "0.3.0"
commit = true
commit_args = "-s"
tag = true
tag_name = "v{new_version}"
sign_tags = true
allow_dirty = true
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<dev>post)\\d+\\.dev\\d+)?"
serialize = [
"{major}.{minor}.{patch}.{dev}{$PR_NUMBER}.dev{distance_to_latest_tag}",
"{major}.{minor}.{patch}"
]
message = "Version updated from {current_version} to {new_version}"
[[tool.bumpversion.files]]
filename = "django_umami/__init__.py"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'