-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (48 loc) · 2.18 KB
/
setup.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
from setuptools import setup
setup(
name="hd_bm",
version="1.0",
packages=["hd_bm"],
description="Tool for automated segmentation of brain metastasis. "
"This is the result of a joint project between the Department of Neuroradiology at the"
" Heidelberg University Hospital and the Division of Medical Image Computing at "
"the German Cancer Research Center (DKFZ). See readme.md for more information",
url="https://github.com/NeuroAI-HD/HD-BM",
python_requires=">=3.6",
author="Tassilo Wald",
author_email="[email protected]",
license="Apache 2.0",
zip_safe=False,
install_requires=[
"nnunet @ git+https://github.com/MIC-DKFZ/[email protected]",
"matplotlib",
"SimpleITK<2.1.0 ; python_version<='3.6'",
"SimpleITK>=2.2.1 ; python_version>'3.6'",
],
extras_require={
':python_version=="3.6"': ["torch==1.10.2", "batchgenerators==0.25"],
':python_version=="3.7"': ["importlib_metadata", "torch==1.10.2", "batchgenerators==0.25"],
':python_version=="3.8"': ["importlib_metadata", "torch", "batchgenerators==0.25"],
':python_version=="3.9"': ["torch==2.2.2", "batchgenerators==0.25"],
':python_version=="3.10"': ["torch", "batchgenerators==0.25"],
':python_version=="3.11"': ["torch", "batchgenerators==0.25"],
':python_version=="3.12"': ["torch", "batchgenerators==0.25"],
},
entry_points={
"console_scripts": [
"hd_bm_evaluate = hd_bm.evaluate:main",
"hd_bm_predict = hd_bm.hd_bm_predict:main",
"hd_bm_predict_folder = hd_bm.hd_bm_predict_folder:main",
"hd_bm_predict_folder_with_labels = hd_bm.hd_bm_predict_folder_with_labels:main",
"hd_bm_slim_predict = hd_bm.hd_bm_slim_predict:main",
"hd_bm_slim_predict_folder = hd_bm.hd_bm_slim_predict_folder:main",
"hd_bm_slim_predict_folder_with_labels = hd_bm.hd_bm_slim_predict_folder_with_labels:main",
],
},
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Operating System :: Unix",
],
)