mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-31 13:54:31 +00:00
box2d kengz vs py (#1097)
* try build with box2d-kengz * test box2d envs * use box2d-py in tox.ini for tests * box2d-py instead of box2d-kengz in box2d dependencies * test dependencies in tox.ini use dependencies in setup.py * further cleanups of tox.ini * further cleanups * added scipy to list of requirements
This commit is contained in:
@@ -11,8 +11,6 @@ def should_skip_env_spec_for_tests(spec):
|
||||
return True
|
||||
if ( 'GoEnv' in ep or
|
||||
'HexEnv' in ep or
|
||||
ep.startswith('gym.envs.box2d:') or
|
||||
ep.startswith('gym.envs.box2d:') or
|
||||
(ep.startswith("gym.envs.atari") and not spec.id.startswith("Pong") and not spec.id.startswith("Seaquest"))
|
||||
):
|
||||
logger.warn("Skipping tests for env {}".format(ep))
|
||||
|
4
setup.py
4
setup.py
@@ -8,7 +8,7 @@ from version import VERSION
|
||||
# Environment-specific dependencies.
|
||||
extras = {
|
||||
'atari': ['atari_py>=0.1.1', 'Pillow', 'PyOpenGL'],
|
||||
'box2d': ['Box2D-kengz'],
|
||||
'box2d': ['box2d-py'],
|
||||
'classic_control': ['PyOpenGL'],
|
||||
'mujoco': ['mujoco_py>=1.50', 'imageio'],
|
||||
'robotics': ['mujoco_py>=1.50', 'imageio'],
|
||||
@@ -31,7 +31,7 @@ setup(name='gym',
|
||||
if package.startswith('gym')],
|
||||
zip_safe=False,
|
||||
install_requires=[
|
||||
'numpy>=1.10.4', 'requests>=2.0', 'six', 'pyglet>=1.2.0',
|
||||
'scipy', 'numpy>=1.10.4', 'requests>=2.0', 'six', 'pyglet>=1.2.0',
|
||||
],
|
||||
extras_require=extras,
|
||||
package_data={'gym': [
|
||||
|
28
tox.ini
28
tox.ini
@@ -12,19 +12,7 @@ passenv=DISPLAY TRAVIS*
|
||||
deps =
|
||||
pytest
|
||||
mock
|
||||
atari_py>=0.0.17
|
||||
Pillow
|
||||
PyOpenGL
|
||||
pachi-py>=0.0.19
|
||||
box2d-py
|
||||
doom_py>=0.0.11
|
||||
mujoco_py>=1.50.1,<1.50.2
|
||||
keras
|
||||
theano
|
||||
numpy>=1.10.4
|
||||
requests>=2.0
|
||||
six
|
||||
pyglet>=1.2.0
|
||||
-e .[all]
|
||||
commands =
|
||||
pytest {posargs}
|
||||
|
||||
@@ -34,18 +22,6 @@ passenv=DISPLAY TRAVIS*
|
||||
deps =
|
||||
pytest
|
||||
mock
|
||||
atari_py>=0.0.17
|
||||
Pillow
|
||||
PyOpenGL
|
||||
pachi-py>=0.0.19
|
||||
box2d-py
|
||||
doom_py>=0.0.11
|
||||
mujoco_py<1.0.0,>=0.4.3
|
||||
keras
|
||||
theano
|
||||
numpy>=1.10.4
|
||||
requests>=2.0
|
||||
six
|
||||
pyglet>=1.2.0
|
||||
-e .[all]
|
||||
commands =
|
||||
pytest {posargs}
|
||||
|
Reference in New Issue
Block a user