-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
134 lines (122 loc) · 2.89 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "voxel"
description = "A python package for generalized microscope control"
license = { file = "LICENSE" }
requires-python = ">=3.10, <=3.12"
authors = [
{ name = "Micah Woodard", email = "[email protected]" },
{ name = "Adam Glaser", email = "[email protected]" },
{ name = "Walter Mwaniki", email = "[email protected]" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
readme = "README.md"
keywords = [
"microscopy",
"microscope",
"acquisition",
"imaging",
]
dynamic = ["version"]
dependencies = [
"ruamel-yaml>=0.18.5",
"inflection>=0.5.1",
"pydantic>=2.7.3",
"imohash>=1.0.5",
# device driver dependencies
"pyserial>=3.5",
"pyusb>=1.2.1",
"psutil>=5.9.8",
"PyVISA>=1.14.1",
"PyVISA-py>=0.7.2",
"pylablib>=1.4.2",
"nidaqmx>=0.9.0",
# data handling dependencies
"h5py>=3.0.0",
# processing and utils dependencies
"pyclesperanto>=0.8.2",
"scikit-image>=0.20.0",
"gputools>0.2.14",
"scikit-tensor-py3",
"tensorstore>=0.1.56",
"matplotlib>=3.8.2",
"scipy>=1.12.0",
"fast_histogram>=0.14",
"sympy>=1.12.1",
"numpy>2.0.0",
"siphash24>=1.7",
]
[project.optional-dependencies]
"imaris" = ["PyImarisWriter>=0.7.0"]
"tifffile" = ["tifffile>=2024.1.30"]
"pycobolt" = ["pycobolt @ git+https://github.com/cobolt-lasers/pycobolt.git"]
"acquire-zarr" = ["acquire-zarr>=0.0.5"]
"dev" = [
"pytest>=8.2.1",
"black",
"coverage",
"flake8",
"interrogate",
"isort",
"Sphinx",
"furo",
]
"all" = [
"voxel[imaris]",
"voxel[tifffile]",
"voxel[pycobolt]",
"voxel[acquire-zarr]",
"voxel[dev]",
]
[project.urls]
"Homepage" = "https://github.com/AllenNeuralDynamics/voxel"
"Issues" = "https://github.com/AllenNeuralDynamics/voxel/issues"
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
packages = ["voxel"]
[tool.setuptools.dynamic]
version = { attr = "voxel.__version__" }
[tool.black]
line-length = 120
target-version = ["py311"]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
| .gitignore
)
'''
[tool.coverage.run]
omit = ["*__init__*"]
source = ["voxel", "tests"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"from",
"import",
"pragma: no cover",
]
fail_under = 100
[tool.isort]
line_length = 120
profile = "black"
[tool.interrogate]
exclude = ["setup.py", "docs", "build"]
fail_under = 100