-
Notifications
You must be signed in to change notification settings - Fork 261
/
setup.py
53 lines (51 loc) · 2.21 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
51
52
53
from setuptools import setup, find_packages
setup(name='TotalSegmentator',
version='2.4.0',
description='Robust segmentation of 104 classes in CT images.',
long_description="See Readme.md on github for more details.",
url='https://github.com/wasserth/TotalSegmentator',
author='Jakob Wasserthal',
author_email='[email protected]',
python_requires='>=3.9',
license='Apache 2.0',
packages=find_packages(),
package_data={"totalsegmentator":
["resources/totalsegmentator_snomed_mapping.csv",
"resources/contrast_phase_classifiers_2024_07_19.pkl",
"resources/modality_classifiers_2024_10_04.pkl"]
},
install_requires=[
'torch>=2.1.2',
'numpy<2',
'SimpleITK',
'nibabel>=2.3.0',
'tqdm>=4.45.0',
'xvfbwrapper',
'nnunetv2>=2.2.1',
'requests==2.27.1;python_version<"3.10"',
'requests;python_version>="3.10"',
'dicom2nifti',
'pyarrow'
],
zip_safe=False,
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Operating System :: Unix',
'Operating System :: MacOS'
],
entry_points={
'console_scripts': [
'TotalSegmentator=totalsegmentator.bin.TotalSegmentator:main',
'totalseg_combine_masks=totalsegmentator.bin.totalseg_combine_masks:main',
'crop_to_body=totalsegmentator.bin.crop_to_body:main',
'totalseg_import_weights=totalsegmentator.bin.totalseg_import_weights:main',
'totalseg_download_weights=totalsegmentator.bin.totalseg_download_weights:main',
'totalseg_setup_manually=totalsegmentator.bin.totalseg_setup_manually:main',
'totalseg_set_license=totalsegmentator.bin.totalseg_set_license:main',
'totalseg_get_phase=totalsegmentator.bin.totalseg_get_phase:main',
'totalseg_get_modality=totalsegmentator.bin.totalseg_get_modality:main'
],
},
)