-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (41 loc) · 1.07 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
33
34
35
36
37
38
39
40
41
42
43
from distutils.core import setup
from Cython.Build import cythonize
from numpy.distutils.core import setup
import numpy
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm/random_utils.pyx"),
packages=['nhpylm']
)
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm/chant.pyx"),
packages=['nhpylm']
)
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm/npylm.pyx"),
packages=['nhpylm']
)
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm/hyperparameters.pyx"),
include_dirs=[numpy.get_include()],
packages=['nhpylm']
)
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm/blocked_gibbs_sampler.pyx"),
include_dirs=[numpy.get_include()],
packages=['nhpylm']
)
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm/viterbi_algorithm.pyx"),
packages=['nhpylm']
)
setup(
name='nhpylm model',
ext_modules=cythonize("src/models/nhpylm_model.pyx"),
include_dirs=["src/models/nhpylm/", numpy.get_include()]
)