More setup.py fixes (#2321)

* move cloud pickle

* more fixes

* move cloud pickle back
This commit is contained in:
J K Terry
2021-08-17 10:25:59 -04:00
committed by GitHub
parent 76dd8d0c1c
commit 36499b917e
2 changed files with 10 additions and 10 deletions

View File

@@ -2,8 +2,8 @@ atari-py==0.2.6
opencv-python>=3. opencv-python>=3.
box2d-py~=2.3.5 box2d-py~=2.3.5
mujoco_py>=1.50, <2.0 mujoco_py>=1.50, <2.0
imageio scipy>=1.4.1
scipy
numpy>=1.18.0 numpy>=1.18.0
pyglet>=1.4.0 pyglet>=1.4.0
cloudpickle>=1.2.0,<1.7.0 cloudpickle>=1.2.0
lz4>=3.1.0

View File

@@ -12,10 +12,10 @@ extras = {
"atari": ["atari-py==0.2.6", "opencv-python>=3."], "atari": ["atari-py==0.2.6", "opencv-python>=3."],
"box2d": ["box2d-py~=2.3.5", "pyglet>=1.4.0"], "box2d": ["box2d-py~=2.3.5", "pyglet>=1.4.0"],
"classic_control": ["pyglet>=1.4.0"], "classic_control": ["pyglet>=1.4.0"],
"mujoco": ["mujoco_py>=1.50, <2.0", "imageio"], "mujoco": ["mujoco_py>=1.50, <2.0"],
"robotics": ["mujoco_py>=1.50, <2.0", "imageio"], "robotics": ["mujoco_py>=1.50, <2.0"],
"toy_text": ["scipy"], "toy_text": ["scipy>=1.4.1"],
"wrappers": ["lz4~=3.1", "opencv-python>=3."], "wrappers": ["lz4>=3.1.0", "opencv-python>=3."],
} }
# Meta dependency groups. # Meta dependency groups.
@@ -34,16 +34,16 @@ extras["all"] = list(set([item for group in extras.values() for item in group]))
setup( setup(
name="gym", name="gym",
version=VERSION, version=VERSION,
description="The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.", description="Gym: A universal API for reinforcement learning environments.",
url="https://github.com/openai/gym", url="https://github.com/openai/gym",
author="OpenAI", author="OpenAI",
author_email="gym@openai.com", author_email="jkterry@umd.edu",
license="", license="",
packages=[package for package in find_packages() if package.startswith("gym")], packages=[package for package in find_packages() if package.startswith("gym")],
zip_safe=False, zip_safe=False,
install_requires=[ install_requires=[
"numpy>=1.18.0", "numpy>=1.18.0",
"cloudpickle>=1.2.0,<1.7.0", "cloudpickle>=1.2.0",
], ],
extras_require=extras, extras_require=extras,
package_data={ package_data={