-
Notifications
You must be signed in to change notification settings - Fork 514
/
setup.py
79 lines (72 loc) · 2.6 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
78
79
import os
import shutil
from setuptools import setup
with open(os.path.join("rl_zoo3", "version.txt")) as file_handler:
__version__ = file_handler.read().strip()
# Copy hyperparams files for packaging
shutil.copytree("hyperparams", os.path.join("rl_zoo3", "hyperparams"))
long_description = """
# RL Baselines3 Zoo: A Training Framework for Stable Baselines3 Reinforcement Learning Agents
See https://github.com/DLR-RM/rl-baselines3-zoo
"""
install_requires = [
"sb3_contrib>=2.4.0a11,<3.0",
"gymnasium>=0.29.1,<1.1.0",
"huggingface_sb3>=3.0,<4.0",
"tqdm",
"rich",
"optuna>=3.0",
"pyyaml>=5.1",
"pytablewriter~=1.2",
"shimmy~=2.0",
]
plots_requires = ["seaborn", "rliable~=1.2.0", "scipy~=1.10"]
test_requires = [
# for MuJoCo envs v4:
"mujoco>=2.3,<4",
# install parking-env to test HER
"highway-env>=1.10.1,<1.11.0",
]
setup(
name="rl_zoo3",
packages=["rl_zoo3", "rl_zoo3.plots"],
package_data={
"rl_zoo3": [
"py.typed",
"version.txt",
"hyperparams/*.yml",
]
},
entry_points={"console_scripts": ["rl_zoo3=rl_zoo3.cli:main"]},
install_requires=install_requires,
extras_require={"plots": plots_requires, "tests": test_requires},
description="A Training Framework for Stable Baselines3 Reinforcement Learning Agents",
author="Antonin Raffin",
url="https://github.com/DLR-RM/rl-baselines3-zoo",
author_email="antonin.raffin@dlr.de",
keywords="reinforcement-learning-algorithms reinforcement-learning machine-learning "
"gymnasium openai stable baselines sb3 toolbox python data-science",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
version=__version__,
python_requires=">=3.8",
# PyPI package information.
project_urls={
"Code": "https://github.com/DLR-RM/rl-baselines3-zoo",
"Documentation": "https://rl-baselines3-zoo.readthedocs.io/en/master/",
"Changelog": "https://github.com/DLR-RM/rl-baselines3-zoo/blob/master/CHANGELOG.md",
"Stable-Baselines3": "https://github.com/DLR-RM/stable-baselines3",
"RL-Zoo": "https://github.com/DLR-RM/rl-baselines3-zoo",
"SBX": "https://github.com/araffin/sbx",
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)
# Remove copied files after packaging
shutil.rmtree(os.path.join("rl_zoo3", "hyperparams"))