-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathsetup.py
executable file
·40 lines (36 loc) · 1.67 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
from setuptools import setup
from setuptools import Extension
try:
from Cython.Build import cythonize
ext_modules = cythonize([Extension('wfpt', ['src/wfpt.pyx'], language='c++'),
Extension('cdfdif_wrapper', ['src/cdfdif_wrapper.pyx', 'src/cdfdif.c']),
])
except ImportError:
ext_modules = [Extension('wfpt', ['src/wfpt.c'], language='c++'),
Extension('cdfdif_wrapper', ['src/cdfdif_wrapper.c', 'src/cdfdif.c'])
]
import numpy as np
setup(
name='HDDM',
version='0.5.5',
author='Thomas V. Wiecki, Imri Sofer, Michael J. Frank',
author_email='thomas_wiecki@brown.edu',
url='http://github.com/hddm-devs/hddm',
packages=['hddm', 'hddm.tests', 'hddm.models', 'hddm.examples'],
package_data={'hddm':['examples/*.csv', 'examples/*.conf']},
scripts=['scripts/hddm_demo.py'],
description='HDDM is a python module that implements Hierarchical Bayesian estimation of Drift Diffusion Models.',
install_requires=['NumPy >=1.6.0', 'SciPy >= 0.6.0', 'kabuki >= 0.5.3', 'PyMC>=2.3.3', 'pandas >= 0.12.0', 'patsy'],
setup_requires=['NumPy >=1.6.0', 'SciPy >= 0.6.0', 'kabuki >= 0.5.3', 'PyMC>=2.3.3', 'pandas >= 0.12.0', 'patsy'],
include_dirs = [np.get_include()],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
ext_modules = ext_modules
)