-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
31 lines (29 loc) · 962 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
#!/usr/bin/env python
from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
ext_modules = [
Extension(
name = "yin",
sources = ["src/ypt.pyx", "src/Yin.c"],
include_dirs = [ numpy.get_include() ],
language = "c",
)
]
setup(name='yin',
version = "0.1",
description='A python wrapper to the YIN pitch algorithm',
long_description='''\
A wrapper to the Yin algorithm, a well-established autocorrelation
based pitch algorith.''',
url='https://github.com/cbrown1/pyin',
author='Christopher Brown',
author_email='[email protected]',
maintainer='Christopher Brown',
maintainer_email='[email protected]',
cmdclass = {'build_ext':build_ext},
ext_modules = ext_modules,
setup_requires=['numpy>=1.2', 'cython>=0.24.1'],
install_requires=['numpy>=1.2', 'cython>=0.24.1'],
)