-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 2.52 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 2.52 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
[build-system]
# cmake builds the bundled libhdf5 from source so `.h5`/`.hdf5` support is compiled
# into the wheel; end users install nothing extra.
requires = ["maturin>=1.8,<2", "cmake>=3.18"]
build-backend = "maturin"
[project]
name = "eventcv"
version = "1.0.4"
description = "Open source event-based computer vision library."
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
authors = [{ name = "Adam Hines"}]
maintainers = [{ name = "EventLAB Team", email="eventlab.localization@gmail.com"}]
dependencies = ["numpy"]
classifiers = [
# Development status
'Development Status :: 5 - Production/Stable',
# Intended audience
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
# Languages
'Programming Language :: Rust',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
# Topics
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Image Recognition',
# Operating Systems
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
]
# Test-only tools (writing/inspecting HDF5 fixtures). Not needed to use eventcv —
# the Rust reader links its own libhdf5.
[project.optional-dependencies]
test = ["h5py>=3", "hdf5plugin"]
[project.urls]
homepage = "https://eventcv.net"
documentation = "https://eventcv.readthedocs.io"
source = "https://github.com/EventLAB-Team/eventcv"
[tool.maturin]
bindings = "pyo3"
manifest-path = "crates/eventcv-py/Cargo.toml"
python-source = "python"
module-name = "eventcv._rust"
# Compile HDF5 reading and USB event-camera streaming into every wheel. `camera` pulls in the
# neuromorphic-drivers crate + a vendored libusb (built from source, no system libusb at runtime).
features = ["hdf5", "camera"]
# Keep the docs source, fixtures, and dev-only files out of the sdist (the wheel already
# only contains `python/eventcv/` + the compiled extension). Docs are hosted on Read the
# Docs, so shipping them to PyPI would only bloat the download.
exclude = [
"docs/**",
".readthedocs.yaml",
"data/**",
"assets/**"
]
[tool.uv.extra-build-dependencies]
eventcv = ["maturin"]