Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (84 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (84 loc) · 2.22 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
# ===== Project info
[project]
dynamic = ["version"]
name = "fastplotlib"
description = "Next-gen fast plotting library running on WGPU using the Pygfx rendering engine "
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Kushal Kolar" }, { name = "Caitlin Lewis" }]
keywords = [
"visualization",
"science",
"interactive",
"pygfx",
"webgpu",
"wgpu",
"vulkan",
"gpu",
]
requires-python = ">= 3.11"
dependencies = [
"numpy>=2.1.0",
"pygfx==0.17.0",
"wgpu", # Let pygfx constrain the wgpu version
"cmap>=0.1.3",
# (this comment keeps this list multiline in VSCode)
]
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx-gallery",
"pydata-sphinx-theme",
"glfw",
"ipywidgets>=8.0.0,<9",
"sphinx-copybutton",
"sphinx-design",
"pandoc",
"imageio[ffmpeg]",
"matplotlib",
"scikit-learn",
"ome-zarr",
"pandas", # nds_extras, the api docs for an extra need its library installed
]
notebook = [
"jupyterlab",
"jupyter-rfb>=0.5.1",
"ipywidgets>=8.0.0,<9",
"sidecar",
"simplejpeg",
]
tests = [
"pytest",
"nbmake",
"black",
"scipy",
"imageio[ffmpeg]",
"scikit-learn",
"tqdm",
"ome-zarr",
"av"
]
video = ["av"]
# imgui-bundle 1.92.900 removed `ImDrawData.cmd_lists_count`, which the released wgpu imgui
# backend still uses. Remove the upper bound once a wgpu release has the fix.
imgui = ["wgpu[imgui]", "imgui-bundle<1.92.900"]
dev = ["fastplotlib[docs,notebook,tests,imgui,video]"]
[project.urls]
Homepage = "https://www.fastplotlib.org/"
Documentation = "https://www.fastplotlib.org/"
Repository = "https://github.com/fastplotlib/fastplotlib"
# ===== Building
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
# ===== Tooling
# [tool.ruff]
# line-length = 88
# [tool.ruff.lint]
# select = ["F", "E", "W", "N", "B", "RUF", "TC"]
# ignore = [
# "E501", # Line too long
# "E731", # Do not assign a `lambda` expression, use a `def`
# "B019", # Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
# "RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`"
# ]