forked from stober/dtw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (22 loc) · 649 Bytes
/
setup.py
File metadata and controls
27 lines (22 loc) · 649 Bytes
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
'''
Created on May 5, 2009
@author: stober
'''
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
import os
np_lib = os.path.dirname(numpy.__file__)
np_inc = [os.path.join(np_lib, 'core/include')]
ext_modules = [Extension("dtw.fast",["src/fast.pyx"], include_dirs=np_inc)]
setup(name='dtw',
version='0.1',
description='Dynamic Time Warping',
author='Jeremy Stober',
author_email='stober@cs.utexas.edu',
package_dir={'dtw':'src'},
packages=['dtw'],
cmdclass = {'build_ext' : build_ext},
ext_modules = ext_modules
)