-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
116 lines (108 loc) · 2.75 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
import os
import setuptools
from carl import (
author,
author_email,
description,
package_name,
project_urls,
url,
version,
)
HERE = os.path.dirname(os.path.realpath(__file__))
def read_file(filepath: str) -> str:
with open(filepath, "r", encoding="utf-8") as fh:
return fh.read()
extras_require = {
"box2d": [
"gymnasium[box2d]>=0.27.1",
],
"brax": [
"brax==0.9.3",
"protobuf>=3.17.3",
"mujoco==3.0.1"
],
"dm_control": [
"dm_control>=1.0.3",
],
"mario": [
"opencv-python>=4.8.0",
"torch>=1.9.0",
"Pillow>=8.3.1",
"py4j>=0.10.9.2",
"pyvirtualdisplay>=3.0",
"jdk4py>=17.0.7.0"
],
"dev": [
"pytest>=6.1.1",
"pytest-cov",
"mypy",
"black",
"flake8",
"isort",
"pydocstyle",
"pre-commit",
],
"docs": [
"sphinx>=4.2.0",
"sphinx-gallery>=0.10.0",
"image>=1.5.33",
"sphinx-autoapi>=1.8.4",
"automl-sphinx-theme>=0.1.9",
],
"examples": [
"stable-baselines3",
]
}
setuptools.setup(
name=package_name,
author=author,
author_email=author_email,
description=description,
long_description=read_file(os.path.join(HERE, "README.md")),
long_description_content_type="text/markdown",
license="Apache 2.0",
license_file="LICENSE",
url=url,
project_urls=project_urls,
keywords=["RL", "Generalization", "Context", "Reinforcement Learning"],
version=version,
packages=setuptools.find_packages(exclude=["tests"]),
include_package_data=True,
python_requires=">=3.9",
install_requires=[
"gym",
"gymnasium>=0.27.1",
"pygame",
"scipy>=1.7.0",
"ConfigArgParse>=1.5.1",
"numpy>=1.19.5",
"pandas>=1.3.0",
"matplotlib>=3.4.2",
"dataclasses>=0.6",
"numpyencoder>=0.3.0",
"pyglet>=1.5.15",
"pytablewriter>=0.62.0",
"PyYAML>=5.4.1",
"tabulate>=0.8.9",
"bs4>=0.0.1",
"configspace>=0.7.1",
"omegaconf>=2.3.0",
],
extras_require=extras_require,
test_suite="pytest",
platforms=["Linux"],
classifiers=[
"Programming Language :: Python :: 3",
"Natural Language :: English",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
],
)