-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
77 lines (69 loc) · 2.01 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
"""dowel setuptools script."""
from setuptools import find_packages
from setuptools import setup
# Required dependencies
required = [
# Please keep alphabetized
'matplotlib',
'numpy',
'python-dateutil',
'scipy',
'tabulate',
'tensorboardX',
]
extras = dict()
extras['tensorflow'] = ['tensorflow']
extras['all'] = list(set(sum(extras.values(), [])))
# Development dependencies (*not* included in "all")
extras['dev'] = [
# Please keep alphabetized
'coverage',
'flake8',
'flake8-docstrings>=1.5.0',
'flake8-import-order',
'pep8-naming',
'pre-commit',
'pycodestyle>=2.5.0',
'pydocstyle>=4.0.0',
'pylint',
'pytest>=4.4.0', # Required for pytest-xdist
'pytest-cov',
'pytest-xdist',
'sphinx',
'recommonmark',
'yapf',
]
with open('README.md') as f:
readme = f.read()
with open('VERSION') as v:
version = v.read().strip()
setup(
name='dowel',
version=version,
author='Reinforcement Learning Working Group',
author_email='[email protected]',
description='A logger for machine learning research',
url='https://github.com/rlworkgroup/dowel',
packages=find_packages(where='src'),
package_dir={'': 'src'},
python_requires='>=3.5',
install_requires=required,
extras_require=extras,
license='MIT',
long_description=readme,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries',
],
)