-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
31 lines (28 loc) · 893 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
#!/usr/bin/env python
from distutils.core import setup, Extension
echoprint_ext = Extension(
'echoprint',
[
'libcodegen/AudioBufferInput.cxx',
'libcodegen/AudioStreamInput.cxx',
'libcodegen/Base64.cxx',
'libcodegen/Codegen.cxx',
'libcodegen/Fingerprint.cxx',
'libcodegen/MatrixUtility.cxx',
'libcodegen/Metadata.cxx',
'libcodegen/SubbandAnalysis.cxx',
'libcodegen/Whitening.cxx',
'echoprint.cpp',
],
include_dirs=['/usr/include/taglib', 'libcodegen'],
libraries=['tag', 'z', 'pthread'],
)
setup(
name='python-echoprint',
version='0.1',
description="A Python library for Echonest's Echoprint music identification service",
author='Ben Firshman',
author_email='[email protected]',
url='https://github.com/bfirsh/python-echoprint',
ext_modules=[echoprint_ext],
)