forked from jewicht/ZigZag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (24 loc) · 831 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
import os
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
README_FILE = os.path.join(os.path.dirname(__file__), 'README.rst')
czigzag = Extension(name='czigzag.cythonfcns', sources=['czigzag/cythonfcns.pyx'], include_dirs=[numpy.get_include()])
setup(
name='CZigZag',
version='0.2',
packages=['czigzag'],
license='BSD-new license',
description='Python package finding peaks and valleys of time series data.',
long_description=open(README_FILE).read(),
author='John Bjorn Nelson',
author_email='jbn@pathdependent.com',
url='https://github.com/jewicht/ZigZag',
install_requires=[
'numpy >= 1.7.0'
],
data_files=['README.rst'],
cmdclass={'build_ext':build_ext},
ext_modules = [czigzag]
)