diff options
author | Andrew W Elble <aweits@rit.edu> | 2021-04-14 14:55:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 13:55:33 -0500 |
commit | 7175c213b5c43ea87a3d9d653f9b8108b4aeabd4 (patch) | |
tree | 59e52dd10f0cfe348d5f081b8c93fa40839ff01f /var | |
parent | 2cc9b00d26e0b2be287a4f3b5808ff6e7b52bcc5 (diff) | |
download | spack-7175c213b5c43ea87a3d9d653f9b8108b4aeabd4.tar.gz spack-7175c213b5c43ea87a3d9d653f9b8108b4aeabd4.tar.bz2 spack-7175c213b5c43ea87a3d9d653f9b8108b4aeabd4.tar.xz spack-7175c213b5c43ea87a3d9d653f9b8108b4aeabd4.zip |
py-gym: new package (#22983)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-gym/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gym/package.py b/var/spack/repos/builtin/packages/py-gym/package.py new file mode 100644 index 0000000000..795c93fe25 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-gym/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +class PyGym(PythonPackage): + """OpenAI Gym is a toolkit for developing and comparing + reinforcement learning algorithms. This is the gym open-source + library, which gives you access to a standardized set of + environments.""" + + homepage = "https://github.com/openai/gym" + pypi = "gym/0.18.0.tar.gz" + + version('0.18.0', sha256='a0dcd25c1373f3938f4cb4565f74f434fba6faefb73a42d09c9dddd0c08af53e') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-numpy@1.10.4:', type=('build', 'run')) + depends_on('py-pyglet@1.4.0:1.5.0', type=('build', 'run'), when='@0.18.0') + depends_on('py-pyglet@1.4.0:1.5.15', type=('build', 'run'), when='@0.18.1') + depends_on('pil@:8.2.0', type=('build', 'run'), when='@0.18.1') + depends_on('pil@:7.2.0', type=('build', 'run'), when='@0.18.0') + depends_on('py-cloudpickle@1.2.0:1.6.999', type=('build', 'run')) |