-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
28 lines (25 loc) · 840 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
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import pkg_resources
import numpy as np
dependencies = [
'pyopencl >= 2019.1.2',
'cython'
]
pkg_resources.require(dependencies)
ext = [Extension('spikesorting_fullpursuit.c_cython.sort_cython', sources=['spikesorting_fullpursuit/c_cython/sort_cython.pyx'])]
pkg_req = [
'cython', 'pyopencl (>= 2019.1.2)'
]
setup(name='spikesorting_fullpursuit',
version='1.1.0',
description='Spike sorting algorithm with overlap detection.',
author='Nathan Hall',
author_email='nathan.hall@duke.edu',
url='https://',
packages=['spikesorting_fullpursuit'],
ext_modules=cythonize(ext, annotate=False, language_level=3),
include_dirs=[np.get_include()],
requires=pkg_req
)