-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
56 lines (48 loc) · 1.7 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
[tool.poetry]
name = "HSF"
version = "1.2.1"
description = "A simple yet exhaustive segmentation tool of the Hippocampal Subfields in T1w and T2w MRIs."
authors = ["Clément POIRET <[email protected]>"]
license = "MIT"
readme = "README.rst"
keywords = ["mri", "brain", "hippocampus", "segmentation", "deep learning"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Image Processing"
]
homepage = "https://hippomnesis.dev"
repository = "https://github.com/clementpoiret/HSF"
[tool.poetry.scripts]
hsf = 'hsf.factory:start'
deepsparse_support = 'hsf.engines:print_deepsparse_support'
[tool.poetry.dependencies]
python = ">=3.9.0,<3.12"
torchio = "^0.18.56"
roiloc = ">0.2.8"
hydra-core = "^1.1.1"
wget = "^3.2"
antspyx = ">0.3.0"
xxhash = "^3.2.0"
rich = ">11.0.0"
onnxruntime = {version = ">=1.8.0", optional = true}
onnxruntime-gpu = {version = ">=1.8.0", optional = true}
deepsparse = {version = "^1.4.0", optional = true}
[tool.poetry.extras]
cpu = ["onnxruntime"]
gpu = ["onnxruntime-gpu"]
sparse = ["deepsparse", "onnxruntime"]
[tool.poetry.dev-dependencies]
pytest = "^6"
coverage = {version = "^6.0.1", extras = ["toml"]}
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.coverage.report]
omit = ["hsf/welcome.py"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# The command to install deps manually
# pip install hsf --no-deps
# pip install "torchio>=0.18.56" "roiloc>0.2.8" "hydra-core>=1.1.1" "wget>=3.2" "antspyx>0.3.0" "xxhash>=3.2.0" "rich>11.0.0" "onnxruntime>=1.14.0"