main: initial library code

This commit is contained in:
2026-05-09 17:48:09 +03:00
commit 17e99e2f06
13 changed files with 37608 additions and 0 deletions

44
pyproject.toml Normal file
View File

@@ -0,0 +1,44 @@
[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"