-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
96 lines (81 loc) · 2.06 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "minder3d"
description = "Using AI to foster innovation in the exploration of radiological images."
readme = "README.md"
authors = [{name = "Stephen R. Aylward", email = "[email protected]"}]
license = {file = "LICENSE"}
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: Apache 2.0",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["medical", "image", "volume", "ai", "visualization"]
dynamic = ["version"]
dependencies = [
'PyQt6',
'PySide6',
'numpy',
'vtk',
'thedicomsort',
#'itk', # Do not install until ITK pypi is updated
#'itk-tubetk', # Do not install until ITK pypi is updated
]
[project.scripts]
minder3d = "minder3d.__main__:main"
[project.urls]
Homepage = "https://github.com/aylward/Minder3D"
Aylward = "https://www.aylward.org"
[project.optional-dependencies]
dev = [
'qt6-tools',
'black==24.4.2',
'pylint',
'flake8',
'isort',
'pre-commit',
'bumpver',
'twine',
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "minder3d.__version__"}
[tool.bumpver]
current_version = "2024.05.0a0"
version_pattern = "YYYY.0M.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = ['current_version = "{version}"']
"src/minder3d/__init__.py" = ["__version__ = '{version}'"]
[tool.black]
line-length = 80
skip-string-normalization = true
target_version = ['py310']
include = ["src"]
force-exclude = '''
(
ui_.*|.*\.ui|\.gitignore|.*\.yml|.*\.yaml|.*\.toml|.*\.png|.*\.svg|.*\.qrc|.*Resources\.py|.*\.md
)
'''
[tool.flake8]
max-line-length = 80
extend-ignore = ["E501"]
[tool.isort]
profile = "black"
skip_glob = ["ui_*", "*.ui"]
line_length = 80
[tool.pylint]
max-line-length = 80
[tool.ruff]
include = ["*.py"]
exclude = ["ui_*"]
line-length = 80
[tool.ruff.format]
quote-style = 'single'