-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
88 lines (76 loc) · 2.17 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
[project]
name = "med-imagetools"
version = "1.9.4"
description = "Med-Imagetools: Transparent and Reproducible Medical Image Processing Pipelines in Python"
authors = [
{ name = "Sejin Kim" },
{ name = "Michal Kazmierski" },
{ name = "Kevin Qu" },
{ name = "Vishwesh Ramanathan" },
{ name = "Jermiah Joseph" },
{ name = "Benjamin Haibe-Kains", email = "[email protected]" },
]
maintainers = [
{ name = "Benjamin Haibe-Kains", email = "[email protected]" },
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.10,<4"
# Standard dependencies
dependencies = [
"h5py>=3.11.0,<4",
"joblib>=1.4.2,<2",
"numpy>=1.26.4,<2",
"matplotlib>=3.8.4,<4",
"pandas>=2.2.2,<3",
"pydicom>=2.4.4,<3",
"pynrrd>=1.0.0,<2",
"scikit-image>=0.23.2,<1",
"scikit-learn>=1.4.2,<2",
"simpleitk>=2.3.1,<3",
"tqdm>=4.66.4,<5",
"pyyaml>=6.0.1,<7",
"dill>=0.3.8,<1",
"attrs>=23.2.0",
"structlog>=24.0,<25",
"click>=8.1,<9",
"rich>=13.9.4",
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
# Optional dependencies (extras)
[project.optional-dependencies]
torch = ["torch", "torchio"]
debug = ["pyvis"]
# Entry points for CLI commands
[project.scripts]
autopipeline = "imgtools.autopipeline:main"
imgtools = "imgtools.cli.__main__:cli"
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.hatch.build]
directory = "dist"
[tool.hatch.build.targets.wheel]
packages = ["src/imgtools"]
include = ["pyproject.toml", "README.md", "src/**"]
[tool.semantic_release]
version_variables = ["src/imgtools/__init__.py:__version__"]
version_toml = ["pyproject.toml:project.version"]
upload_to_release = true
remove_dist = false
commit_message = "chore(sem-ver): {version}"
patch_without_tag = true
[tool.semantic_release.branches.main]
match = "(main|master)"
[tool.semantic_release.branches.dev]
# any branch that contains "dev" will be considered a dev branch
match = ".*dev.*"
prerelease = true
prerelease_token = "rc"