-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
60 lines (54 loc) · 1.73 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
import os
import setuptools
with open("version.txt") as f:
VERSION = f.read().strip()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
atari = ["gym[atari,accept-rom-license]~=0.21", "opencv-python~=4.0"]
gym_minigrid = ["gym-minigrid~=1.0"]
petting_zoo = ["pettingzoo[sisl,atari,classic]~=1.11"]
test = ["pytest~=6.2", "pytest-lazy-fixture~=0.6"]
setuptools.setup(
name="rlhive",
version=VERSION,
description="A package to support RL research",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/chandar-lab/RLHive",
project_urls={
"Bug Tracker": "https://github.com/chandar-lab/RLHive/issues",
},
packages=setuptools.find_packages(),
include_package_data=True,
package_data={"hive": ["configs/**.yml"]},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
python_requires=">=3.6",
install_requires=[
"gym~=0.21",
"numpy~=1.18",
"PyYAML~=5.4",
"torch~=1.6",
"wandb>=0.10.30",
"matplotlib~=3.0",
"pandas~=1.0",
],
extras_require={
"atari": atari,
"gym_minigrid": gym_minigrid,
"petting_zoo": petting_zoo,
"test": test,
"all": atari + gym_minigrid + petting_zoo + test,
},
entry_points={
"console_scripts": [
"hive_single_agent_loop = hive.runners.single_agent_loop:main",
"hive_multi_agent_loop = hive.runners.multi_agent_loop:main",
]
},
)