forked from hddm-devs/hddm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_cython.py
38 lines (34 loc) · 1.51 KB
/
setup_cython.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
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy as np
import os
#gsl_include = os.popen('gsl-config --cflags').read()[2:-1]
#if gsl_include == '':
# print "Couldn't find gsl-config. Make sure it's installed and in the path."
# sys.exit(-1)
setup(
name="HDDM",
version="0.2alpha",
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"],
package_data={"hddm":["examples/*.csv", "examples/*.conf"]},
scripts=["scripts/hddm_fit.py", "scripts/hddm_demo.py"],
description="HDDM is a python module that implements Hierarchical Bayesian estimation of Drift Diffusion Models.",
install_requires=['NumPy >=1.3.0', 'kabuki'],
setup_requires=['NumPy >=1.3.0', 'kabuki'],
include_dirs = [np.get_include()],
cmdclass = {'build_ext': build_ext},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
ext_modules = [Extension("wfpt", ["src/wfpt.pyx"])]#, extra_compile_args=['-fopenmp'], extra_link_args=['-fopenmp'])]
)