forked from pgromano/Markov_Models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (35 loc) · 987 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
31
32
33
34
35
36
37
38
39
40
from setuptools import setup, Extension, find_packages
from os.path import join
import numpy
SRC_DIR = 'Markov_Models/analysis/src'
extensions = []
extensions.append(
Extension(
'Markov_Models.analysis.src._assignment',
sources = [join(SRC_DIR, "_assignment.pyx")],
include_dirs=[numpy.get_include()]),
)
extensions.append(
Extension(
'Markov_Models.analysis.src._mle_tmat_prinz',
sources = [join(SRC_DIR, "_mle_tmat_prinz.pyx")],
include_dirs=[numpy.get_include()]),
)
setup(
name = 'Markov_Models',
author = 'Pablo Romano',
author_email = '[email protected]',
description = 'Python API for Generating Markov Models',
version = '0.1',
url = 'https://github.com/pgromano/Markov_Models',
packages = ['Markov_Models'],
install_requires=[
'hmmlearn',
'msmtools',
'numpy',
'scipy',
'scikit-learn'
],
ext_modules=extensions,
zip_safe = False,
)