forked from ntucllab/striatum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.38 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
#!/usr/bin/env python
import os
from setuptools import setup
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# read the docs could not compile numpy and c extensions
if on_rtd:
setup_requires = []
install_requires = []
else:
setup_requires = [
'nose',
'coverage',
]
install_requires = [
'six',
'numpy',
'scipy',
'matplotlib',
]
long_description = ("See `github <https://github.com/ntucllab/striatum>`_ "
"for more information.")
setup(
name='striatum',
version='0.2.5',
description='Contextual bandit in python',
long_description=long_description,
author='Y.-A. Lin, Y.-Y. Yang',
author_email='[email protected], [email protected]',
url='https://github.com/ntucllab/striatum',
setup_requires=setup_requires,
install_requires=install_requires,
classifiers=[
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
test_suite='nose.collector',
packages=[
'striatum',
'striatum.bandit',
'striatum.storage',
'striatum.utils',
],
package_dir={
'striatum': 'striatum',
'striatum.bandit': 'striatum/bandit',
'striatum.storage': 'striatum/storage',
'striatum.utils': 'striatum/utils',
},
)