-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
75 lines (65 loc) · 1.68 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
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = ["maturin>=0.14"]
build-backend = "maturin"
[project]
name = "acquire-imaging"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["numpy>=1.22"]
dynamic = ["authors", "description", "license", "readme", "version"]
[project.optional-dependencies]
testing = [
"black",
"pytest>=7",
"mypy",
"pytest-cov",
"tifffile",
"zarr",
"dask",
"ome-zarr",
"ruff",
"python-dotenv"
]
[project.entry-points."napari.manifest"]
acquire-imaging = "acquire:napari.yaml"
[tool.setuptools.package_data]
acquire-imaging = [
"napari.yaml",
"libacquire-driver-common.so",
"libacquire-driver-egrabber.so",
"libacquire-driver-hdcam.so",
"libacquire-driver-zarr.so",
"acquire-driver-common.dll",
"acquire-driver-egrabber.dll",
"acquire-driver-hdcam.dll",
"acquire-driver-zarr.dll",
"__init__.pyi",
"acquire.pyi",
]
[tool.maturin]
python-source = "python"
python-packages = ["acquire"]
include = ["**/*/*.so", "**/*/*.dll"]
[tool.black]
target-version = ['py39', 'py310', 'py311']
line-length = 79
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = '--tb=short -s --color=yes --cov-report=xml --cov=acquire --maxfail=5 --log-cli-level=0 --doctest-glob="*.pyi" --doctest-glob="*.md"'
# log_format = "%(asctime)s %(levelname)s %(message)s"
# log_date_format = "%Y-%m-%d %H:%M:%S"
log_cli = true # when true, messages are printed immediately
[tool.ruff]
exclude = [
"__init__.py"
]
ignore = [
"F403",
"F405",
]