summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-configspace/package.py
blob: e02780b25c7b180e9116d01a81b47e8c04f0f026 (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
25
26
# Copyright 2013-2024 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 PyConfigspace(PythonPackage):
    """Creation and manipulation of parameter configuration spaces for
    automated algorithm configuration and hyperparameter tuning."""

    maintainers("Kerilk")

    homepage = "https://automl.github.io/ConfigSpace/master/"
    pypi = "ConfigSpace/ConfigSpace-0.4.20.tar.gz"

    license("BSD-3-Clause")

    version("0.4.20", sha256="2e4ca06f5a6a61e5322a73dd7545468c79f2a3e8385cab92fdada317af41d9e9")

    depends_on("python@3.7:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-cython", type="build")
    depends_on("py-pyparsing", type=("build", "run"))