-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
137 lines (121 loc) · 3.52 KB
/
pyproject.toml
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[build-system]
requires = ["setuptools>=61.0.0", "wheel", "build"]
build-backend = "setuptools.build_meta"
[project]
name = "a2perf"
description = "Benchmarking suite for evaluating autonomous agents in real-world domains."
readme = "README.md"
requires-python = ">=3.8"
authors = [{ name = "Farama Foundation", email = "[email protected]" }]
license = { text = "MIT License" }
keywords = ["Reinforcement Learning", "Autonomous Agents", "RL", "Imitation Learning", "Benchmark", "AI"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"gin-config",
"gymnasium",
"minari",
"absl-py",
"codecarbon"
]
dynamic = ["version"]
[project.scripts]
a2perf = "a2perf.launch.entrypoint:run_main"
[project.optional-dependencies]
# Update dependencies in `all` if any are added or removed
circuit-training = [
"torch==1.13.1",
"tensorflow<2.16.1",
"tf-agents",
"timeout-decorator",
"matplotlib",
"cairocffi",
"shapely",
]
web-navigation = [
"selenium",
"regex",
"chromedriver-py",
]
quadruped-locomotion = [
"pybullet",
"scipy",
]
all = [
# circuit-training
"torch==1.13.1",
"tensorflow<2.16.1",
"tf-agents",
"timeout-decorator",
"matplotlib",
"cairocffi",
"shapely",
# web-navigation
"selenium",
"regex",
"chromedriver-py",
# quadruped-locomotion
"pybullet",
]
[project.urls]
Homepage = "https://farama.org"
Repository = "https://github.com/Farama-Foundation/A2Perf"
Documentation = "https://a2perf.farama.org"
"Bug Report" = "https://github.com/Farama-Foundation/A2Perf/issues"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["a2perf", "a2perf.*"]
# Linters and Test tools #######################################################
[tool.black]
safe = true
[tool.isort]
atomic = true
profile = "black"
src_paths = ["a2perf", "test"]
#
#[tool.setuptools.packages.find]
#where = ["src"]
[tool.pyright]
# add any files/directories with type declaration to include
include = [
"a2perf/",
]
exclude = [
"a2perf/domains/circuit_training",
"a2perf/domains/quadruped_locomotion",
"a2perf/domains/web_navigation",
]
strict = [
]
verboseOutput = true
typeCheckingMode = "basic"
reportMissingImports = false
[tool.pytest.ini_options]
addopts = ["--ignore-glob=*/__init__.py", "-n=auto", "--ignore=tutorials", "--ignore=docs/_scripts", "--ignore=conf.py"]
[tool.setuptools.package-data]
"a2perf" = [
"submission/**/*.gin",
"domains/web_navigation/configs/web_navigation_env_config.gin",
"domains/quadruped_locomotion/motion_imitation/configs/envdesign.gin",
"domains/circuit_training/circuit_training/configs/envdesign.gin",
"domains/web_navigation/environment_generation/data/*.json",
"domains/web_navigation/**/*.html",
"domains/web_navigation/**/*.css",
"domains/web_navigation/**/*.js",
"domains/web_navigation/**/*.png",
"domains/quadruped_locomotion/motion_imitation/data/motions/*.txt",
"domains/circuit_training/**/*.pb.txt",
"domains/circuit_training/**/*.plc",
"domains/circuit_training/bin/plc_wrapper_main",
"domains/circuit_training/dreamplace_builds/*.tar.gz"
]