-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
58 lines (45 loc) · 1.58 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
54
55
56
57
58
"""
A setuptools based setup module.
"""
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
metadata = {}
with open(path.join(here, 'dicom_numpy', 'version.py')) as f:
exec(f.read(), metadata)
setup(
name='dicom_numpy',
version=metadata['__version__'],
description='Extract image data into a 3D numpy array from a set of DICOM files.',
long_description=long_description,
url='https://github.com/innolitics/dicom-numpy',
author='Innolitics, LLC',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Healthcare Industry',
'Topic :: Software Development :: Build Tools',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
],
keywords='dicom numpy',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=[
'pydicom >= 1.0',
'numpy',
],
python_requires='>= 3.6',
extras_require={
'dev': ['check-manifest', 'sphinx', 'sphinx-autobuild'],
'test': ['coverage', 'pytest']
}
)