-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (139 loc) · 3.55 KB
/
Copy pathpyproject.toml
File metadata and controls
152 lines (139 loc) · 3.55 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "uv-dynamic-versioning>=0.7.0"]
[project]
name = "waveorder"
description = "Wave-optical simulations and deconvolution of optical properties"
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
authors = [{ name = "CZ Biohub SF", email = "compmicro@czbiohub.org" }]
maintainers = [
{ name = "Talon Chandler", email = "talon.chandler@czbiohub.org" },
{ name = "Shalin Mehta", email = "shalin.mehta@czbiohub.org" },
]
keywords = [
"simulation",
"optics",
"phase",
"scattering",
"polarization",
"label-free",
"permittivity",
"reconstruction-algorithm",
"qlipp",
"mipolscope",
"permittivity-tensor-imaging",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
]
dependencies = [
"click>=8.0.1",
"colorspacious>=1.1.2",
"importlib-metadata",
"iohub>=0.3.4",
"ipywidgets>=7.5.1",
"matplotlib>=3.1.1",
"natsort>=7.1.1",
"numpy>=1.24",
"psutil",
"pyqtgraph>=0.12.3",
"pydantic",
"pywavelets>=1.1.1",
"scipy>=1.3.0",
"tensorboard>=2.14",
"torch>=2.4.1",
"qtpy",
"wget>=3.2",
]
dynamic = ["version"]
[project.optional-dependencies]
visual = [
"napari[pyqt6]",
"PyQt6>=6.5,<6.8", # Constrain to versions with manylinux_2_28 support for older Linux systems
"napari-ome-zarr>=0.3.2", # drag and drop convenience
"pycromanager==0.27.2",
"jupyter",
"jupytext",
]
all = ["waveorder[visual]"]
[dependency-groups]
test = [
"click>=8.2.0",
"hypothesis",
"napari[pyqt6]",
"PyQt6>=6.5,<6.8",
"pytest-cov",
"pytest-qt",
"pytest>=5.0.0",
]
docs = [
"sphinx_copybutton",
"sphinxcontrib-video",
"myst_parser",
"sphinx_mdinclude",
"linkify-it-py",
"numpydoc",
"sphinx_sitemap",
"sphinx_gallery",
"pydata_sphinx_theme",
"matplotlib",
"importlib_metadata",
]
bench = [
{ include-group = "test" },
"pyyaml",
"scikit-image",
]
dev = [
{ include-group = "test" },
{ include-group = "bench" },
{ include-group = "docs" },
"pre-commit",
]
[project.urls]
Homepage = "https://github.com/mehta-lab/waveorder"
Repository = "https://github.com/mehta-lab/waveorder"
Issues = "https://github.com/mehta-lab/waveorder/issues"
[project.scripts]
waveorder = "waveorder.cli.main:cli"
wo = "waveorder.cli.main:cli"
[project.entry-points."napari.manifest"]
waveorder = "waveorder:napari.yaml"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
bump = true
fallback-version = "0.0.0"
pattern = "(?P<base>\\d+\\.\\d+\\.\\d+)"
[tool.ruff]
line-length = 120
extend-exclude = ["docs/examples/demos/QPI_defocus/QPI_defocus_experiment.py"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E203", "E402", "E501", "E701", "E711", "E712", "E722", "E731", "E741", "F403", "F405", "F821", "F841"]
[tool.pytest.ini_options]
markers = [
"gpu: tests that require a CUDA device (skipped on CPU-only CI runners)",
]