summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-downhill/package.py
blob: 273f33dbaf0bdbef9165ac63e4b78ec460f7ab81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2022 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 import *


class PyDownhill(PythonPackage):
    """Stochastic optimization routines for Theano"""

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

    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'))