summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cmaes/package.py
blob: d3b166270ffe40194add3acf45bb9216353862bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 PyCmaes(PythonPackage):
    """Lightweight Covariance Matrix Adaptation Evolution Strategy (CMA-ES) implementation."""

    homepage = "https://github.com/CyberAgentAILab/cmaes"
    pypi = "cmaes/cmaes-0.10.0.tar.gz"

    maintainers("eugeneswalker")

    license("MIT")

    version("0.10.0", sha256="48afc70df027114739872b50489ae6b32461c307b92d084a63c7090a9742faf9")

    depends_on("py-setuptools@61:", type="build")

    depends_on("py-numpy", type=("build", "run"))