-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
115 lines (104 loc) · 2.85 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
[project]
name = "med-imagetools"
version = "2.0.0-rc.8"
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 = [
# logging, CLI, and progress bars
"structlog>=24.0,<25",
"click>=8.1,<9",
"tqdm>=4.66.4,<5",
"rich>=13.9.4",
"joblib>=1.4.2,<2",
# data manipulation
"matplotlib>=3.8.4,<4",
"numpy<3",
"pandas<3",
# image processing
"pydicom>=2.4.4",
"scikit-image>=0.23.2,<1",
"scikit-learn>=1.4.2,<2",
"simpleitk>=2.3.1,<3",
# lockfile
"fasteners==0.19",
"pyyaml>=6.0.1,<7",
"dill>=0.3.8,<1",
]
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",
"Programming Language :: Python :: 3.13",
]
[project.urls]
homepage = "https://github.com/bhklab/med-imagetools"
documentation = "https://bhklab.github.io/med-imagetools/"
issues = "https://github.com/bhklab/med-imagetools/issues"
# Optional dependencies (extras)
[project.optional-dependencies]
torch = ["torch", "torchio"] # dont think these are even used anymore
debug = ["pyvis"]
hdf5 = ["h5py>=3.11.0"]
nrrd = ["pynrrd>=1.0.0"]
test = [
"pygithub>=2.5.0",
"aiohttp>=3.8.1",
]
all = [
"pygithub>=2.5.0",
"aiohttp>=3.8.1",
"h5py>=3.11.0",
"pynrrd>=1.0.0",
]
# 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]
# Automatically discovers packages in `src/`
packages = ["src/imgtools"]
include = [
"pyproject.toml",
"README.md",
"src/imgtools/py.typed",
"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 = "(development|dev)"
prerelease = true
prerelease_token = "rc"
[tool.ruff]
# Extend the `pyproject.toml` file in the parent directory...
extend = "config/ruff.toml"