forked from Farama-Foundation/PettingZoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.47 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
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = ""
header_count = 0
for line in fh:
if line.startswith("##"):
header_count += 1
if header_count < 2:
long_description += line
else:
break
extras = {
"atari": ["multi_agent_ale_py", "pygame==2.0.0.dev6"],
"classic": ["python-chess", "rlcard >= 0.1.14", "python-shogi", "hanabi_learning_environment"],
"gamma": ["pygame==2.0.0.dev6", "pymunk>=5.6.0"],
"magent": ["magent"],
"mpe": [],
"sisl": ["pygame==2.0.0.dev6", "opencv-python", "scikit-image>=0.16.2"],
"tests": ["pynput"]
}
extras["all"] = list(set().union(extras["atari"], extras["classic"], extras["gamma"], extras["magent"], extras["mpe"], extras["sisl"]))
setup(
name='PettingZoo',
version="0.1.8",
author='PettingZoo Team',
author_email="[email protected]",
description="Gym for multi-agent reinforcement learning",
url='https://github.com/PettingZoo-Team/PettingZoo',
long_description=long_description,
long_description_content_type="text/markdown",
keywords=["Reinforcement Learning", "game", "RL", "AI", "gym"],
python_requires=">=3.6",
data_files=[("", ["LICENSE.txt"])],
packages=find_packages(),
include_package_data=True,
install_requires=[
"gym>=0.17.2",
"numpy>=1.18.0",
"gym[box2d]>=0.17.2",
"box2d-py"
],
extras_requires=extras,
)