-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
26 lines (24 loc) · 866 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
from distutils.core import setup
from Cython.Build import cythonize
from distutils.core import Extension
import numpy
from teHmm.common import checkRequirements
checkRequirements()
setup(
name = 'teHmm',
ext_modules = cythonize([
Extension("_basehmm", ["_basehmm.pyx"],
include_dirs=[numpy.get_include()]),
Extension("_hmm", ["_hmm.pyx"],
include_dirs=[numpy.get_include()]),
Extension("_emission", ["_emission.pyx"],
include_dirs=[numpy.get_include()]),
Extension("_track", ["_track.pyx"],
include_dirs=[numpy.get_include()]),
Extension("_cfg", ["_cfg.pyx"],
include_dirs=[numpy.get_include()],
#extra_compile_args=['-fopenmp'],
#extra_link_args=['-fopenmp']
)
])
)