forked from CCS-Lab/hBayesDM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (60 loc) · 1.76 KB
/
Copy pathsetup.py
File metadata and controls
68 lines (60 loc) · 1.76 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python3
import os
import sys
import subprocess
from setuptools import setup, find_packages
from pathlib import Path
if sys.version_info[:2] < (3, 5):
raise RuntimeError("Python version >= 3.5 required.")
PATH_ROOT = Path(__file__).absolute().parent
MAJOR = 1
MINOR = 0
MICRO = 1
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
VERSION += '' if ISRELEASED else '.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 = 'hbayesdm-users@googlegroups.com'
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',
'Topic :: Scientific/Engineering',
]
setup(
name='hbayesdm',
version=VERSION,
author='hBayesDM Developers',
author_email='hbayesdm-users@googlegroups.com',
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',
'matplotlib',
'arviz',
],
zip_safe=False,
include_package_data=True,
)