-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 1.33 KB
/
pyproject.toml
File metadata and controls
68 lines (58 loc) · 1.33 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
62
63
64
65
66
67
68
[project]
name = "ncca-ngl"
version = "0.5.3"
description = "A Python version of the NGL graphics library."
authors = [{ name = "Jon Macey", email = "jmacey@bournemouth.ac.uk" }]
requires-python = ">=3.11"
license = { file = "LICENSE.txt" }
dependencies = [
"numpy>=2.3.3",
"PyOpenGL",
"Pillow",
"glfw>=2.9.0",
"freetype-py>=2.5.1",
"pyside6>=6.9.2",
"wgpu>=0.29.0",
]
[project.urls]
Homepage = "https://github.com/NCCA/PyNGL"
Issues = "https://github.com/NCCA/PyNGL/issues"
[tool.pytest.ini_options]
pythonpath = ["src","tests"]
[build-system]
requires = ["uv_build>=0.8.13,<0.9.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "ncca.ngl"
module-root = "src"
[dependency-groups]
dev = [
"coverage>=7.10.6",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"ruff>=0.13.0",
"pre-commit>=4.3.0",
"mkdocs>=1.6.1",
"mkdocstrings[python]>=0.30.1",
"mkdocs-material>=9.7.0",
"pytest-qt>=4.5.0",
]
[tool.coverage.run]
source = ["src/ncca/ngl"]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*",
"*/site-packages/*",
"__main__.py",
"__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]