-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (69 loc) · 1.94 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (69 loc) · 1.94 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
[build-system]
requires = ["maturin>=1.14,<2.0"]
build-backend = "maturin"
[project]
name = "pluot"
requires-python = ">=3.12"
license-files = ["LICENSE", "NOTICE"]
authors = [
{name = "Mark Keller"}
]
readme = "README.md"
description = "This package provides functionality for rendering visualizations using Pluot"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
dependencies = [
"numpy>=2",
"zarr>=3",
"obstore",
"pillow==11.3.0"
]
[project.optional-dependencies]
dev = [
'maturin>=1.9.3',
'pytest>=6.2.4',
'pytest-asyncio>=1.1.0',
'jupyterlab>=3.0.0',
"marimo",
"pandas"
]
widget = [
"anywidget==0.11.0",
"traitlets"
]
[project.urls]
repository = "https://github.com/keller-mark/pluot"
[tool.maturin]
features = ["pyo3/extension-module", "python", "embed_fonts"]
# module-name = <package name>.<rust pymodule name>
module-name = "pluot._internal"
# Reference: https://www.maturin.rs/project_layout.html#mixed-rustpython-project
python-source = "bindings-python"
manifest-path = "crates/pluot/Cargo.toml"
[tool.maturin.generate-ci.github]
trusted-publishing = true
[tool.uv]
# Rebuild package when any rust files change
cache-keys = [
{file = "pyproject.toml"},
{file = "Cargo.toml"},
{file = "crates/pluot/Cargo.toml"},
{file = "crates/pluot/src/**/*.rs"},
{file = "crates/pluot_core/Cargo.toml"},
{file = "crates/pluot_core/**/*.rs"},
{file = "crates/pluot_zarr/Cargo.toml"},
{file = "crates/pluot_zarr/**/*.rs"}
]
# Reference: https://github.com/apache/datafusion-python/blob/d6d6ea69a7bcc80ebf025ee8778df12ecbf874c5/pyproject.toml#L66C1-L68C48
[tool.pytest.ini_options]
pythonpath = ["bindings-python"]
asyncio_mode = "auto"
testpaths = [
# We don't want pytest to execute the files
# generated via the render-to-code snapshot tests
"bindings-python/tests",
]