-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
132 lines (111 loc) · 3.41 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-fancy-pypi-readme"]
[project]
authors = [
{name = "Jérome Eertmans", email = "jeertmans@icloud.com"},
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering",
]
dependencies = [
"sionna>=0.19.0",
"vispy>=0.14.2",
]
description = "VisPy scene previewer for Sionna"
dynamic = ["readme", "version"]
keywords = ["sionna", "vispy", "raytracing", "preview"]
license = "MIT"
name = "sionna-vispy"
requires-python = ">= 3.8"
[project.optional-dependencies]
recommended = [
"jupyter-rfb>=0.3.3",
"pyside6>=6.0.0",
]
[project.urls]
Changelog = "https://github.com/jeertmans/sionna-vispy/releases"
Documentation = "https://github.com/jeertmans/sionna-vispy"
Founding = "https://github.com/sponsors/jeertmans"
Homepage = "https://github.com/jeertmans/sionna-vispy"
Repository = "https://github.com/jeertmans/sionna-vispy"
[tool.bumpversion]
allow_dirty = false
commit = true
commit_args = ""
current_version = "0.19.0"
ignore_missing_version = false
message = "chore(deps): bump version from {current_version} to {new_version}"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<fix>\d+))?'
regex = false
replace = "{new_version}"
search = "{current_version}"
serialize = ["{major}.{minor}.{patch}.{fix}", "{major}.{minor}.{patch}"]
sign_tags = false
tag = false
tag_message = "chore(version): {current_version} → {new_version}"
tag_name = "v{new_version}"
[[tool.bumpversion.files]]
filename = "src/sionna_vispy/__version__.py"
replace = '__version__ = "{new_version}"'
search = '__version__ = "{current_version}"'
[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
replace = "v{new_version}"
search = "Unreleased"
[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
replace = "v{new_version}"
search = "unreleased"
[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
replace = "v{current_version}...v{new_version}"
search = "v{current_version}...HEAD"
[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
replace = '''<!-- start changelog -->
(unreleased)=
## [Unreleased](https://github.com/jeertmans/sionna-vispy/compare/v{new_version}...HEAD)'''
search = "<!-- start changelog -->"
[tool.hatch.build.targets.wheel]
packages = ["src/sionna_vispy"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.md"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
pattern = '> \[!([A-Z]+)\]'
replacement = '> **\1:**'
[tool.hatch.version]
path = "src/sionna_vispy/__version__.py"
[tool.pyright]
include = ["src/sionna_vispy"]
venv = ".venv"
venvPath = "."
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
extend-select = ["B", "C90", "I", "N", "RUF", "UP", "T"]
isort = {known-first-party = ["sionna_vispy", "tests"]}
[tool.uv]
dev-dependencies = [
"bump-my-version>=0.10.0",
# dev
"pre-commit>=3.5.0",
# tests
"pytest>=8.3.3",
"sionna-vispy[recommended]",
]
[tool.uv.sources]
sionna-vispy = {workspace = true}