-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
37 lines (34 loc) · 1014 Bytes
/
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
from setuptools import setup, find_packages
import sys
minpyver = (3, 8)
if sys.version_info < minpyver:
sys.exit(f'Sorry, Python < {".".join(minpyver)} is not supported')
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='dcmrtstruct2nii',
version='5',
description='Convert DICOM RT-Struct to nii',
long_description=long_description,
long_description_content_type="text/markdown",
author='Thomas Phil',
author_email='thomas@tphil.nl',
url='/~https://github.com/Sikerdebaard/dcmrtstruct2nii',
python_requires=">=3.6",
packages=find_packages(), # same as name
install_requires=[
'numpy>=1.15.4',
'pydicom>=1.2.1',
'scikit-image>=0.17.1',
'scipy>=1.2.0',
'SimpleITK>=1.2.0',
'cleo>=2.0.0',
'termcolor>=2.2.0',
'tqdm>=4.66.1',
],
entry_points={
'console_scripts': [
'dcmrtstruct2nii=dcmrtstruct2nii.cli.dcmrtstruct2nii:run',
],
},
)