-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (37 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
44 lines (37 loc) · 1.17 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
[build-system]
requires = ["setuptools>=60", "wheel", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "webgpu"
dynamic = ["version"]
description = "A Python based WebGPU API using pyodide"
authors = [
{ name = "Matthias Hochsteger", email = "mhochsteger@cerbsim.com" },
{ name = "Christopher Lackner", email = "clackner@cerbsim.com" },
]
license = "LGPL-2.1-or-later"
keywords = ["webgpu", "compute shaders", "graphics", "python", "pyodide", "wgsl"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
readme = "README.md"
requires-python = ">=3.8"
dependencies = ["numpy", "requests", "packaging"]
[tool.setuptools_scm]
version_file = "webgpu/_version.py"
local_scheme = "no-local-version"
[tool.setuptools.packages.find]
include = ["webgpu*"]
[tool.setuptools.package-data]
"webgpu" = ["shaders/*.wgsl", "font.bin", "link/*.js"]
[tool.isort]
profile = "black"
src_paths = ["webgpu", "examples"]
skip_glob = ["**/_version.py"]
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
[project.optional-dependencies]
test = ["pytest", "pytest-pyodide", "playwright", "Pillow"]