summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-downhill/package.py
blob: b6f5c0c1b41b27778562c7c780d3947aa0a732c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 PyDownhill(PythonPackage):
    """Stochastic optimization routines for Theano"""

    homepage = "http://github.com/lmjohns3/downhill"
    pypi = "downhill/downhill-0.4.0.tar.gz"

    license("MIT")

    version("0.4.0", sha256="074ad91deb06c05108c67d982ef71ffffb6ede2c77201abc69e332649f823b42")

    depends_on("py-setuptools", type="build")
    depends_on("py-theano", type=("build", "run"))
    depends_on("py-click", type=("build", "run"))