-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (30 loc) · 1.1 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
#!/usr/bin/env python
from setuptools import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
#from Cython.Build import cythonize
import numpy
ext_modules = [
Extension(
name = "soundtouch",
sources = ["src/st.pyx", "src/shiftpitch.cpp"],
include_dirs = [ numpy.get_include(), "/usr/include/soundtouch", "/usr/local/include/soundtouch", "soundtouch-1.7.1\soundtouch\include"],
libraries = ["SoundTouch"],
library_dirs = ["soundtouch-1.7.1\soundtouch\lib"],
language = "c++",
)
]
setup(name='soundtouch',
version = "0.1",
description='A python wrapper to the soundtouch pitch shift algorithm',
long_description='''\
A wrapper to soundtouch, an algorithm for pitch shifting
based pitch algorith.''',
author='Christopher Brown',
author_email='[email protected]',
maintainer='Christopher Brown',
maintainer_email='[email protected]',
url='https://github.com/cbrown1/pysoundtouch',
cmdclass = {'build_ext':build_ext},
ext_modules = ext_modules
)