forked from MushroomRL/mushroom-rl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (50 loc) · 2.04 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
from setuptools import setup, find_packages
from codecs import open
from os import path
from mushroom_rl import __version__
here = path.abspath(path.dirname(__file__))
requires_list = []
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
for line in f:
requires_list.append(str(line))
extras = {
'gym': ['gym'],
'atari': ['atari_py~=0.2.0', 'Pillow', 'opencv-python'],
'box2d': ['box2d-py~=2.3.5'],
'bullet': ['pybullet'],
'mujoco': ['mujoco_py'],
'plots': ['pyqtgraph']
}
all_deps = []
for group_name in extras:
if group_name not in ['mujoco', 'plots']:
all_deps += extras[group_name]
extras['all'] = all_deps
long_description = 'Mushroom is a Python Reinforcement Learning (RL) library' \
' whose modularity allows to easily use well-known Python' \
' libraries for tensor computation (e.g. PyTorch, Tensorflow)' \
' and RL benchmarks (e.g. OpenAI Gym, PyBullet, Deepmind' \
' Control Suite). It allows to perform RL experiments in a' \
' simple way providing classical RL algorithms' \
' (e.g. Q-Learning, SARSA, FQI), and deep RL algorithms' \
' (e.g. DQN, DDPG, SAC, TD3, TRPO, PPO). Full documentation' \
' available at http://mushroomrl.readthedocs.io/en/latest/.'
setup(
name='mushroom-rl',
version=__version__,
description='A Python toolkit for Reinforcement Learning experiments.',
long_description=long_description,
url='https://github.com/MushroomRL/mushroom-rl',
author="Carlo D'Eramo",
author_email='[email protected]',
license='MIT',
packages=[package for package in find_packages()
if package.startswith('mushroom_rl')],
zip_safe=False,
install_requires=requires_list,
extras_require=extras,
classifiers=["Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
)