This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
73 lines (64 loc) · 1.92 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
import io
import os
import re
from setuptools import find_packages, setup
NAME = "rainy"
AUTHOR = "Yuji Kanagawa"
EMAIL = "[email protected]"
URL = "https://github.com/kngwyu/Rainy"
REQUIRES_PYTHON = ">=3.6.0"
DESCRIPTION = "Algorithm and utilities for deep reinforcement learning"
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, "rainy/__init__.py"), "rt", encoding="utf8") as f:
VERSION = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
try:
with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = "\n" + f.read()
except FileNotFoundError:
LONG_DESCRIPTION = DESCRIPTION
REQUIRED = [
"click>=7.0",
"colorama>=0.4",
"GitPython>=2.0",
"gym[atari]>=0.11.0",
"numpy>=1.15.0",
"opencv-python>=3.4",
"pandas>=0.25",
"torch>=1.2",
]
EXTRA = {
"bullet": ["pybullet>=2.4"],
"horovod": ["horovod>=0.16"],
"rlpy": ["rlpy3>=2.0.0b1"],
}
setup(
name=NAME,
version=VERSION,
url=URL,
project_urls={
"Code": URL,
"Issue tracker": URL + "/issues",
},
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
packages=find_packages(),
python_requires=REQUIRES_PYTHON,
install_requires=REQUIRED,
extras_require=EXTRA,
license="Apache2",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
],
)