-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (125 loc) · 2.76 KB
/
Copy pathpyproject.toml
File metadata and controls
134 lines (125 loc) · 2.76 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
[project]
name = "medicai"
dynamic = ["version"]
description = "Keras-based medical 2D and 3D image analysis library."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [
{ name = "innat", email = "innat.dev@gmail.com" }
]
keywords = ["medical-imaging", "keras", "deep-learning", "segmentation", "classification"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
"keras",
"matplotlib",
"nibabel",
"numpy",
"omegaconf",
"pandas",
"PyYAML",
"requests",
"rich",
"scipy",
"tqdm",
"typeguard",
"typing_extensions",
"tzdata",
"urllib3",
]
[project.optional-dependencies]
docs = [
"myst-parser>=2.0",
"pydata-sphinx-theme>=0.15",
"sphinx>=7.0",
"sphinx-autobuild>=2024.10.3",
"sphinx-copybutton>=0.5",
"sphinx-design>=0.5",
"sphinx-notfound-page>=1.0",
]
test = [
"pytest",
]
dev = [
"black",
"flake8",
"isort",
"myst-parser>=2.0",
"pydata-sphinx-theme>=0.15",
"pytest",
"sphinx>=7.0",
"sphinx-autobuild>=2024.10.3",
"sphinx-copybutton>=0.5",
"sphinx-design>=0.5",
"sphinx-notfound-page>=1.0",
]
tensorflow = [
"tensorflow",
]
jax = [
"jax",
]
torch = [
"torch",
]
all = [
"tensorflow",
"jax",
"torch",
]
[project.urls]
Homepage = "https://github.com/innat/medic-ai"
Documentation = "https://medicai.readthedocs.io/"
Repository = "https://github.com/innat/medic-ai"
Issues = "https://github.com/innat/medic-ai/issues"
# Black formatting
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312", "py313"]
include = '\.pyi?$'
exclude = '''
/(
.eggs # exclude a few common directories in the
| .git # root of the project
| .hg
| .mypy_cache
| .tox
| venv
| _build
| buck-out
| build
| dist
)/
'''
# iSort
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
virtual_env = "venv"
[tool.flake8]
exclude = "venv"
ignore = ["E501", "W503", "E226"]
[tool.setuptools.dynamic]
version = { attr = "medicai.__version__" }
[tool.setuptools.packages.find]
where = ["."]
include = ["medicai", "medicai.*"]
exclude = ["test", "dataloader", "notebooks"]
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"