Files
vulkan-registry/pyproject.toml

45 lines
861 B
TOML

[build-system]
requires = ["pdm-backend", "build"]
build-backend = "pdm.backend"
[project]
name = "dragiyski-vulkan-registry"
version = "0.0.1"
description = "Extracts and parses the Vulkan API registry XML file, providing a Python interface to access the data."
readme = "README.md"
authors = [ { name = "Plamen Dragiyski", email = "plamen@dragiyski.org" } ]
requires-python = ">=3.12"
[dependency-groups]
dev = [
"pytest>=9.0.1",
"pytest-cov>=7.0.0",
]
[tool.pdm]
package-dir = "src"
[tool.pdm.build]
includes = ["src"]
excludes = ["tests"]
[tool.pdm.scripts]
test = "pytest"
coverage = "pytest --cov=dragiyski.vulkan --cov-report=html"
[tool.pytest]
minversion="0.9"
testpaths = [
"tests"
]
python_files = [
"test_*.py"
]
pythonpath = ["src"]
[tool.coverage.run]
branch = true
[tool.coverage.html]
directory = ".coverage-report/html"