50 lines
1.0 KiB
TOML
50 lines
1.0 KiB
TOML
[build-system]
|
|
requires = ["pdm-backend", "build"]
|
|
build-backend = "pdm.backend"
|
|
|
|
[project]
|
|
name = "dragiyski-vulkan-binding"
|
|
version = "0.0.1"
|
|
description = "Lazy Vulkan bindings for Python, generated from the Vulkan XML registry."
|
|
readme = "README.md"
|
|
authors = [ { name = "Plamen Dragiyski", email = "plamen@dragiyski.org" } ]
|
|
requires-python = ">=3.12"
|
|
|
|
dependencies = [
|
|
"pycparser>=2.23",
|
|
"dragiyski-vulkan-registry @ https://git.dragiyski.org/dragiyski/vulkan-registry/releases/download/v0.0.1/dragiyski_vulkan_registry-0.0.1-py3-none-any.whl",
|
|
]
|
|
|
|
[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"
|