Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (43 loc) · 1.46 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
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[project]
name = "monalisa-python"
version = "0.1.3"
description = "Python port of Monalisa, the MattechLab toolbox for non-Cartesian and Cartesian MRI reconstruction"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.10"
authors = [{ name = "MattechLab" }]
dependencies = [
"numpy>=1.26",
"scipy>=1.11",
"numba>=0.59",
"h5py>=3.9", # MATLAB v7.3 files (mitosius, witness, results)
"matplotlib>=3.7",
"napari[all]>=0.5", # show_image viewer and Qt for the interactive dialogs (autoFlag=false)
"ipywidgets>=8", # show_image in Jupyter notebooks
]
[project.optional-dependencies]
io = ["twixtools", "ismrmrd"] # raw data: Siemens twix, ISMRMRD
reg = ["SimpleITK>=2.3"] # demons registration (replaces MATLAB imregdemons)
test = ["pytest>=8", "pytest-xdist", "pytest-qt"]
notebook = ["jupyterlab"] # examples/tutorial_1/tutorial_1.ipynb
dev = ["monalisa-python[test,reg]", "ruff"]
[project.urls]
Homepage = "https://github.com/MattechLab/monalisa-python"
Upstream = "https://github.com/MattechLab/monalisa"
[tool.hatch.build.targets.wheel]
packages = ["src/monalisa"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"parity: replay of MATLAB golden calls",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "NPY"]
ignore = ["E741", "N802", "N803", "N806"]