-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
74 lines (64 loc) · 1.54 KB
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
[project]
name = "vtk-sdk-python-wheel-helper"
version = "1.0.4"
description = "vtk-sdk-python-wheel-helper"
authors = [
{ name = "Alexy Pellegrini", email = "alexy.pellegrini@kitware.com" }
]
dependencies = []
requires-python = ">=3.9"
readme = "README.md"
license = { text = "Apache 2.0 License" }
keywords = [
"Python",
"VTK",
"CMake"
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
]
[project.optional-dependencies]
docs = [
"sphinx>=8,<9",
"sphinxcontrib-moderncmakedomain"
]
test = [
"pytest",
"virtualenv"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = [
"/vtk_sdk_python_wheel_helper",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
version_variables = [
"vtk_sdk_python_wheel_helper/__init__.py:__version__",
]
build_command = """
python -m venv .venv
source .venv/bin/activate
pip install -U pip build
python -m build .
"""
version_source = "tag"
[tool.semantic_release.changelog.default_templates]
changelog_file = "CHANGELOG.md"
output_format = "md"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[tool.semantic_release.branches.main]
match = "main"
[project.entry-points."cmake.module"]
VTKSDKWheelPythonHelper = "vtk_sdk_python_wheel_helper"