-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
103 lines (91 loc) · 2.52 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "xnat-ingest"
description = "Uploads exported DICOM and raw data to XNAT, parsing metadata from DICOMs"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"click >=8.1",
"discord",
"fileformats-medimage-extras",
"pydicom >=2.3.1",
"tqdm >=4.64.1",
"boto3",
"natsort",
"paramiko",
"xnat",
"frametree",
"frametree-xnat",
]
license = { file = "LICENSE" }
authors = [{ name = "Thomas G. Close", email = "[email protected]" }]
maintainers = [
{ name = "Thomas G. Close", email = "[email protected]" },
]
keywords = ["xnat", "imaging", "data", "repository", "siemens", "pet", "upload"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = ["black", "pre-commit", "codespell", "flake8", "flake8-pyproject"]
test = [
"pytest >=6.2.5",
"pytest-env>=0.6.2",
"pytest-cov>=2.12.1",
"xnat4tests >=0.3",
"medimages4tests >=0.3.1",
"PyYAML",
]
# Aliases
tests = ["xnat-exported-scans[test]"]
all = ["xnat-exported-scans[dev,test]"]
[project.urls]
repository = "https://github.com/Australian-Imaging-Service/xnat_ingest"
[project.scripts]
xnat-ingest = "xnat_ingest.cli:cli"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "xnat_ingest/_version.py"
[tool.hatch.build]
packages = ["xnat_ingest"]
exclude = ["/tests"]
[tool.black]
target-version = ['py37', 'py38']
exclude = "xnat_ingest/_version.py"
[tool.codespell]
ignore-words = ".codespell-ignorewords"
[tool.flake8]
doctests = true
per-file-ignores = ["__init__.py:F401"]
max-line-length = 88
select = "C,E,F,W,B,B950"
extend-ignore = ['E203', 'E501', 'E129', "W503", 'E701']
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
strict = true
explicit_package_bases = true
exclude = [
"tests",
"scripts",
"docs",
"build",
"dist",
"xnat_ingest/_version.py",
]