forked from nipy/heudiconv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.py
51 lines (45 loc) · 1.44 KB
/
info.py
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
__author__ = "HeuDiConv team and contributors"
__url__ = "https://github.com/nipy/heudiconv"
__packagename__ = "heudiconv"
__description__ = "Heuristic DICOM Converter"
__license__ = "Apache 2.0"
__longdesc__ = """Convert DICOM dirs based on heuristic info - HeuDiConv
uses the dcmstack package and dcm2niix tool to convert DICOM directories or
tarballs into collections of NIfTI files following pre-defined heuristic(s)."""
CLASSIFIERS = [
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
PYTHON_REQUIRES = ">=3.8"
REQUIRES = [
# not usable in some use cases since might be just a downloader, not binary
# 'dcm2niix',
"dcmstack>=0.8",
"etelemetry",
"filelock>=3.0.12",
"nibabel",
"nipype >=1.2.3",
"pydicom >= 1.0.0",
]
TESTS_REQUIRES = [
"pytest",
"tinydb",
"inotify",
]
MIN_DATALAD_VERSION = "0.13.0"
EXTRA_REQUIRES = {
"tests": TESTS_REQUIRES,
"extras": [
"duecredit", # optional dependency
], # Requires patched version ATM ['dcmstack'],
"datalad": ["datalad >=%s" % MIN_DATALAD_VERSION],
}
# Flatten the lists
EXTRA_REQUIRES["all"] = sum(EXTRA_REQUIRES.values(), [])