main: initial library code
This commit is contained in:
44
pyproject.toml
Normal file
44
pyproject.toml
Normal 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"
|
||||
Reference in New Issue
Block a user