-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (50 loc) · 2.14 KB
/
setup.py
File metadata and controls
53 lines (50 loc) · 2.14 KB
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
44
45
46
47
48
49
50
51
52
53
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
if len(sys.argv) > 2 and sys.argv[-1] == '-useC':
del sys.argv[-1]
from setuptools import Extension
from Cython.Build import cythonize
setup(
name='pyEPABC',
version='1.0.0',
author='Sebastian Bitzer',
author_email='sebastian.bitzer@tu-dresden.de',
packages=['pyEPABC'],
description='A Python implementation of EP-ABC for likelihood-free, probabilistic inference.',
install_requires=['numpy', 'scipy'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
],
ext_modules = cythonize(Extension("testDDM_C",
["examples/testDDM_C.pyx"],
include_dirs=["src"],
libraries=["DDMsampler"],
library_dirs=["lib"],
runtime_library_dirs=["lib"]))
)
else:
setup(
name='pyEPABC',
version='1.0.0',
author='Sebastian Bitzer',
author_email='sebastian.bitzer@tu-dresden.de',
packages=['pyEPABC'],
description='A Python implementation of EP-ABC for likelihood-free, probabilistic inference.',
install_requires=['numpy', 'scipy'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
]
)