-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
63 lines (56 loc) · 1.17 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "wgpu-shadertoy"
dynamic = ["version", "readme"]
dependencies = [
"wgpu>=0.16.0,<0.17.0",
"requests",
"numpy",
"Pillow",
]
description = "Shadertoy implementation based on wgpu-py"
license = {file = "LICENSE"}
requires-python = ">=3.8.0"
authors = [
{name = "Jan Kels", email = "[email protected]"},
]
[project.scripts]
wgpu-shadertoy = "wgpu_shadertoy.cli:main_cli"
[project.urls]
Repository = "https://github.com/pygfx/shadertoy"
[project.optional-dependencies]
dev = [
"numpy",
"pytest",
"ruff",
"imageio",
"wheel",
"setuptools",
"twine",
"glfw",
]
[tool.setuptools.dynamic]
version = {attr = "wgpu_shadertoy.__version__"}
readme = {file = ["README.md"], "content-type" = "text/markdown"}
[tool.ruff.lint]
select = [
"E4",
"E5",
"E7",
"E9",
"F", # Pyflakes (default)
"I", # isort imports
"N", # pep8-naming
"RUF", # ruff
]
extend-ignore = [
"E501", # line too long
"RUF005", # + inside concatenation messes with numpy
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]