blob: ab8ac4e3874a682213cf70fd5995f2cd2f2c9de0 (
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
27
28
29
30
|
# 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 PyRiver(PythonPackage):
"""River is a Python library for online machine learning. It aims to be the most
user-friendly library for doing machine learning on streaming data. River is the
result of a merge between creme and scikit-multiflow."""
homepage = "https://riverml.xyz/0.13.0/"
pypi = "river/river-0.13.0.tar.gz"
license("BSD-3-Clause")
version("0.13.0", sha256="9d068b7a9db32302fbd581af81315681dfe61774a5d777fb3d5982d3c3061340")
# pyproject.toml
depends_on("py-cython", type="build")
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-rust", type="build")
# setup.py
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-numpy@1.22:", type=("build", "run"))
depends_on("py-scipy@1.5:", type=("build", "run"))
depends_on("py-pandas@1.3:", type=("build", "run"))
|