-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
36 lines (31 loc) · 1.12 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
"""Segmentator setup.
To install for development, using the commandline do:
pip install -e /path/to/segmentator
"""
from setuptools import setup
from setuptools.extension import Extension
from os.path import join
import numpy
ext_modules = [Extension(
"segmentator.deriche_3D", [join('segmentator', 'cython', 'deriche_3D.c')],
include_dirs=[numpy.get_include()])
]
setup(name='segmentator',
version='1.6.1',
description=('Multi-dimensional data exploration and segmentation for 3D \
images.'),
url='https://github.com/ofgulban/segmentator',
author='Omer Faruk Gulban',
author_email='[email protected]',
license='BSD-3-clause',
packages=['segmentator'],
install_requires=['numpy>=1.17', 'matplotlib>=3.1', 'scipy>=1.3', 'compoda>=0.3'],
keywords=['mri', 'segmentation', 'image', 'voxel'],
zip_safe=True,
entry_points={
'console_scripts': [
'segmentator = segmentator.__main__:main',
'segmentator_filters = segmentator.filters_ui:main',
]},
ext_modules=ext_modules,
)