From 39abe69c97072eb83955abdaa41e9ae6656a748d Mon Sep 17 00:00:00 2001 From: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com> Date: Fri, 10 Mar 2023 20:26:00 -0600 Subject: py-exarl: new package (#35828) * py-exarl: new package * fix style * extend copyright to 2023 * add maintainer --- .../repos/builtin/packages/py-exarl/package.py | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-exarl/package.py diff --git a/var/spack/repos/builtin/packages/py-exarl/package.py b/var/spack/repos/builtin/packages/py-exarl/package.py new file mode 100644 index 0000000000..c3106e8778 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-exarl/package.py @@ -0,0 +1,39 @@ +# Copyright 2013-2023 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) + + +from spack.package import * + + +class PyExarl(PythonPackage): + """A scalable software framework for reinforcement learning environments + and agents/policies used for the Design and Control applications""" + + homepage = "https://github.com/exalearn/EXARL" + git = "https://github.com/exalearn/EXARL.git" + + maintainers("cmahrens") + + version("master", branch="master") + version("develop", branch="develop") + version("update-spack", branch="update-spack") + version("0.1.0", tag="v0.1.0") + + depends_on("python@3.6:", type=("build", "run")) + depends_on("git-lfs", type=("build")) + depends_on("py-setuptools", type=("build")) + + depends_on("py-ase", type=("build", "run")) + depends_on("py-numba", type=("build", "run")) + depends_on("py-lmfit", type=("build", "run")) + depends_on("py-seaborn", type=("build", "run")) + depends_on("py-keras", type=("build", "run")) + depends_on("py-mpi4py", type=("build", "run")) + depends_on("py-scikit-learn", type=("build", "run")) + depends_on("py-tensorflow", type=("build", "run")) + depends_on("py-torch", type=("build", "run")) + depends_on("py-torchvision", type=("build", "run")) + + phases = ["install"] -- cgit v1.2.3-60-g2f50