-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
99 lines (89 loc) · 1.8 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = [
"setuptools >= 64",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "panda3d-gltf"
dynamic = ["version"]
authors = [
{name = "Mitchell Stokes"},
]
description = "glTF utilities for Panda3D"
readme = "README.md"
keywords = ["panda3d", "gltf"]
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
]
dependencies = [
"panda3d >= 1.10.8",
"panda3d-simplepbr >= 0.6",
]
requires-python = ">= 3.9"
[project.urls]
homepage = "https://github.com/Moguri/panda3d-gltf"
[dependency-groups]
dev = [
"pytest",
"ruff>=0.12.9",
"pytest-ruff",
]
[project.scripts]
gltf2bam = "gltf.cli:main"
[project.gui-scripts]
gltf-viewer = "gltf.viewer:main"
[project.entry-points."panda3d.loaders"]
gltf = "gltf._loader:GltfLoader"
glb = "gltf._loader:GltfLoader"
[tool.setuptools]
packages = ["gltf"]
[tool.setuptools.dynamic]
version = {attr = "gltf.version.__version__"}
[tool.ruff.lint]
extend-select = [
#"ALL",
"E",
"F",
"YTT",
"ASYNC",
"BLE",
"B",
"A",
"C4",
"PIE",
"PT",
"RSE",
"RET",
"SLF",
"SLOT",
"N",
"PERF",
"PLC",
"PLE",
"PLW",
"UP",
"FURB",
# Try to enable these later
#"S",
#"I",
#"COM",
#"PTH",
#"TRY",
#"SIM",
#"FBT",
#"RUF",
]
ignore = [
"E501", # Line too long
"E731", # Do not assign a lambda expression, use a def
# Fix these
"F403", # 'from module import *' used; unable to detect undefined names
"F405", # Name may be undefined, or defined from star imports: *
"PLW2901", # loop variable overwritten by assignment target
]
[tool.pytest.ini_options]
addopts = "--ruff"