-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (55 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
61 lines (55 loc) · 1.45 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
[project]
name = "spdx_python_model"
description = "SPDX Model Python Bindings"
dynamic = ["version"]
dependencies = []
requires-python = ">= 3.9"
authors = [
{name = "Joshua Watt", email = "[email protected]"},
]
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
license = "Apache-2.0"
[project.optional-dependencies]
dev = [
"pytest >= 7.4",
]
[project.urls]
Homepage = "https://github.com/spdx/spdx-python-model"
Repository = "https://github.com/spdx/spdx-python-model.git"
Issues = "https://github.com/spdx/spdx-python-model/issues"
[build-system]
requires = [
"hatchling",
"hatch-build-scripts",
"shacl2code == 0.0.25",
]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/spdx_python_model/version.py"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[[tool.hatch.build.hooks.build-scripts.scripts]]
out_dir = "src/spdx_python_model/bindings"
work_dir = "gen"
clean_out_dir = true
commands = [
"./generate-bindings"
]
artifacts = [
"*.py",
"*.pyi",
]