New package: py-bayesian-optimization (#20746)
* [py-bayesian-optimization] created template * [py-bayesian-optimization] added dependencies * [py-bayesian-optimization] removed fixmes, added homepage and description * [py-bayesian-optimization] added dependency on setuptools * [py-bayesian-optimization] changed url to pypi and updated checksum * [py-bayesian-optimization] url -> pypi
This commit is contained in:
parent
b5c9318160
commit
f536ded328
1 changed files with 21 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
# Copyright 2013-2020 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 PyBayesianOptimization(PythonPackage):
|
||||
"""Pure Python implementation of bayesian global
|
||||
optimization with gaussian processes."""
|
||||
|
||||
homepage = "https://github.com/fmfn/BayesianOptimization"
|
||||
pypi = 'bayesian-optimization/bayesian-optimization-1.2.0.tar.gz'
|
||||
|
||||
version('1.2.0', sha256='c2fd3af4b6cc24ee1c145295b2a900ffb9b455cad924e8185a8d5784712bc935')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on("py-numpy@1.9.0:", type=('build', 'run'))
|
||||
depends_on("py-scipy@0.14.0:", type=('build', 'run'))
|
||||
depends_on("py-scikit-learn@0.18.0:", type=('build', 'run'))
|
Loading…
Reference in a new issue