forked from PufferAI/PufferLib
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
240 lines (207 loc) · 4.57 KB
/
pyproject.toml
File metadata and controls
240 lines (207 loc) · 4.57 KB
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
[project]
name = "pufferlib"
version = "3.0.0"
description = "Fast and sane reinforcement learning"
requires-python = ">=3.9"
readme = {file = "README.md", content-type = "text/markdown"}
license= {file = "LICENSE"}
authors = [{ name = "Joseph Suarez", email = "jsuarez@puffer.ai" }]
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = ["dependencies"]
# Default Gym/Gymnasium/PettingZoo versions
# Gym:
# - 0.26 still has deprecation warnings and is the last version of the package
# - 0.25 adds a breaking API change to reset, step, and render_modes
# - 0.24 is broken
# - 0.22-0.23 triggers deprecation warnings by calling its own functions
# - 0.21 is the most stable version
# - <= 0.20 is missing dict methods for gym.spaces.Dict
# - 0.18-0.21 require setuptools<=65.5.0
#'gym==0.23',
#'gymnasium==0.29.1',
#'pettingzoo==1.24.1',
[project.optional-dependencies]
avalon = [
'gymnasium==0.29.1',
'avalon-rl==1.0.0',
]
atari = [
'gymnasium[accept-rom-license]==0.29.1',
'opencv-python==3.4.17.63',
'ale_py==0.9.0',
]
box2d = [
'gymnasium[box2d]==0.29.1',
'swig==4.1.1',
]
bsuite = [
'gym==0.23',
'gymnasium==0.29.1',
'bsuite==0.3.5',
]
butterfly = [
'gym==0.23',
'gymnasium==0.29.1',
'pettingzoo[butterfly]==1.24.1',
]
classic_control = [
'gym==0.23',
'gymnasium==0.29.1',
]
crafter = [
'gym==0.23',
'gymnasium==0.29.1',
'crafter==1.8.3',
]
craftax = [
'gymnasium==0.29.1',
'craftax',
]
dm_control = [
'gym==0.23',
'gymnasium==0.29.1',
'dm_control==1.0.11',
]
dm_lab = [
'gym==0.23',
'gymnasium==0.29.1',
'gym_deepmindlab==0.1.2',
'dm_env==1.6',
]
griddly = [
'gym==0.23',
'gymnasium==0.29.1',
'griddly==1.6.7',
'imageio',
]
kinetix = [
'gym==0.23',
'gymnasium==0.29.1',
'kinetix-env',
]
magent = [
'gym==0.23',
'gymnasium==0.29.1',
'pettingzoo==1.19.0',
'magent==0.2.4',
# The Magent2 package is broken for now
#'magent2==0.3.2',
]
metta = [
'gym==0.23',
'gymnasium==0.29.1',
'omegaconf',
'hydra-core',
'duckdb',
'raylib>=5.5.0',
'metta-common @ git+https://github.com/metta-ai/metta.git@main#subdirectory=common',
'metta-mettagrid @ git+https://github.com/metta-ai/metta.git@main#subdirectory=mettagrid',
]
microrts = [
'gym==0.23',
'gymnasium==0.29.1',
'ffmpeg==1.4',
'gym_microrts==0.3.2',
]
minerl = [
'gym==0.17.0',
'gymnasium==0.29.1',
#'git+https://github.com/minerllabs/minerl'
# Compatiblity warning with urllib3 and chardet
#'requests==2.31.0',
]
minigrid = [
'gym==0.23',
'gymnasium==0.29.1',
'minigrid==2.3.1',
]
minihack = [
'gym==0.23',
'gymnasium==0.29.1',
'minihack==0.1.5',
]
mujoco = [
'gymnasium[mujoco]==1.0.0',
'moviepy',
]
nethack = [
'gym==0.23',
'gymnasium==0.29.1',
'nle==0.9.1',
]
nmmo = [
'gym==0.23',
'gymnasium==0.29.1',
'pettingzoo==1.24.1',
'nmmo>=2.1',
]
open_spiel = [
'gym==0.23',
'gymnasium==0.29.1',
'pettingzoo==1.19.0',
'open_spiel==1.3',
]
pokemon_red = [
'gym==0.23',
'gymnasium==0.29.1',
'pokegym>=0.2.0',
'einops==0.6.1',
'matplotlib',
'scikit-image',
'pyboy<2.0.0',
'hnswlib==0.7.0',
'mediapy',
'pandas==2.0.2',
'pettingzoo',
'websockets',
]
procgen = [
'gym==0.23',
'gymnasium==0.29.1',
'stable_baselines3==2.1.0',
'procgen-mirror==0.10.7', # Procgen mirror for 3.11 and 3.12 support
# Note: You need glfw==2.7 after installing for some torch versions
]
#'smac': [
# 'git+https://github.com/oxwhirl/smac.git',
#],
#'stable-retro': [
# 'git+https://github.com/Farama-Foundation/stable-retro.git',
#]
slimevolley = [
'gym==0.23',
'gymnasium==0.29.1',
'slimevolley==0.1.0',
]
vizdoom = [
'gym==0.23',
'gymnasium==0.29.1',
'vizdoom==1.2.3',
'stable_baselines3==2.1.0',
]
ray = [
'ray==2.23.0',
]
cleanrl = [
'stable_baselines3==2.1.0',
'tensorboard==2.11.2',
'tyro==0.8.6',
]
[project.scripts]
puffer = "pufferlib.pufferl:main"
[project.urls]
Homepage = "https://puffer.ai"
[build-system]
requires = ["setuptools", "wheel", "Cython", "numpy<2.0", "torch"]
build-backend = "setuptools.build_meta"
[tool.uv]
no-build-isolation-package = ["torch"]