-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
53 lines (46 loc) · 1.3 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
[build-system]
requires = ["maturin>=1.4,<2.0"]
build-backend = "maturin"
[project]
name = "jwtoxide"
requires-python = ">=3.9"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
]
dynamic = ["version"]
[tool.maturin]
features = ["pyo3/extension-module"]
strip = true
[project.optional-dependencies]
test = ["pytest", "pyjwt>=2.0.0"]
changelog = ["towncrier"]
docs = ["sphinx", "autodoc", "sphinx-rtd-theme"]
lint = ["ruff"]
version = ["bump-my-version"]
[tool.bumpversion]
current_version = "0.2.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = '\nversion = "{current_version}"'
replace = '\nversion = "{new_version}"'
regex = true
ignore_missing_version = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
[[tool.bumpversion.files]]
filename = "Cargo.toml"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = '\ncurrent_version = "{current_version}"'
replace = '\ncurrent_version = "{new_version}"'
[tool.towncrier]
package = "jwtoxide"
directory = "changes"