-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (85 loc) · 2.2 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
[tool.poetry]
name = "nbiatoolkit"
version = "1.3.1"
description = "A python package to query the National Biomedical Imaging Archive (NBIA) database."
authors = ["Jermiah Joseph"]
license = "MIT"
readme = "README.md"
[tool.poetry.scripts]
dicomsort = "nbiatoolkit.nbia_cli:DICOMSorter_cli"
NBIAToolkit = "nbiatoolkit:version"
getCollections = "nbiatoolkit.nbia_cli:getCollections_cli"
getBodyPartCounts = "nbiatoolkit.nbia_cli:getBodyPartCounts_cli"
getPatients = "nbiatoolkit.nbia_cli:getPatients_cli"
getNewPatients = "nbiatoolkit.nbia_cli:getNewPatients_cli"
getStudies = "nbiatoolkit.nbia_cli:getStudies_cli"
getSeries = "nbiatoolkit.nbia_cli:getSeries_cli"
getNewSeries = "nbiatoolkit.nbia_cli:getNewSeries_cli"
# setting requests to min 2.31 instead of hard lock
[tool.poetry.dependencies]
python = ">=3.09 || 3.12"
requests = "^2.31.0"
pydicom = "^2.4.0"
tqdm = "^4.66.1"
beautifulsoup4 = "^4.12.3"
cryptography = "^42.0.2"
pandas = "^2.2.0"
pyarrow = "^15.0.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
jupyter = "^1.0.0"
pytest-cov = ">=4.0.0"
pytest-xdist = ">=3.5.0"
mkdocs = "1.5.3"
sphinx_exec_code = "0.12"
myst-nb = {version = "^1.0.0", python = "^3.9"}
sphinx-autoapi = "^3.0.0"
sphinx-rtd-theme = "^1.3.0"
python-semantic-release = "^8.5.1"
pre-commit = "^3.6.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
version_variables = [
"src/nbiatoolkit/nbia.py:__version__",
]
version_toml = [
"pyproject.toml:tool.poetry.version",
]
dist_path = "dist/"
upload_to_release = true
upload_to_pypi = false
remove_dist = false
commit_message = "chore(sem-ver): {version}"
patch_without_tag = true
[tool.semantic_release.changelog]
changelog_file = "docs/project_info/CHANGELOG.md"
exclude_commit_types = ["docs", "style", "refactor", "test", "chore"]
[tool.semantic_release.branches.main]
match = "(main|master|development)"
[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
"docs"
]
minor_tags = [
"feat"]
patch_tags = [
"build",
"ci",
"perf",
"refactor",
"style",
"test",
"fix",
"docs"
]