-
Notifications
You must be signed in to change notification settings - Fork 115
/
setup.py
78 lines (68 loc) · 1.91 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env python3
import os
import subprocess
import sys
from pathlib import Path
from setuptools import find_packages, setup
if sys.version_info[:2] < (3, 5):
raise RuntimeError("Python version >= 3.5 required.")
PATH_ROOT = Path(__file__).absolute().parent
MAJOR = 1
MINOR = 3
MICRO = 0
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
IS_RELEASED = False
IS_DEV = False
DEV_VERSION = ''
if IS_RELEASED:
pass
elif IS_DEV:
VERSION += '.' + DEV_VERSION
else:
VERSION += '.9000'
DESC = 'Python interface for hBayesDM, hierarchical Bayesian modeling of RL-DM tasks'
with open('README.rst', 'r', encoding='utf-8') as f:
LONG_DESC = f.read()
LONG_DESC_TYPE = 'text/x-rst'
AUTHOR = 'hBayesDM Developers'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/CCS-Lab/hBayesDM'
LICENSE = 'GPLv3'
CLASSIFIERS = [
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering',
]
setup(
name='hbayesdm',
version=VERSION,
author='hBayesDM Developers',
author_email='[email protected]',
description=DESC,
long_description=LONG_DESC,
long_description_content_type=LONG_DESC_TYPE,
python_requires='>=3.5',
url=URL,
license=LICENSE,
classifiers=CLASSIFIERS,
packages=find_packages(),
install_requires=[
'numpy',
'scipy',
'pandas',
'pystan>=2.19.1,<3.0.0',
'matplotlib',
'arviz',
],
zip_safe=False,
include_package_data=True,
)