summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dynim/package.py
blob: 1edce62c2db6bb51548efab28b109dcbf0d3a03b (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
# 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 PyDynim(PythonPackage):
    """dynim is a pure-python package to perform dynamic-importance
    (DynIm) sampling on a high-dimensional data set."""

    homepage = "https://github.com/LLNL/dynim"
    url = "https://github.com/LLNL/dynim"
    git = "https://github.com/LLNL/dynim.git"

    maintainers("lpottier")

    license("MIT")

    version("main", branch="main", submodules=True)
    version("0.1", commit="aebd780376e7998f7f8b92ba5fdd320bdba7b0d3")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-pyyaml", type=("build", "run"))
    depends_on("py-numpy", type=("build", "run"))
    depends_on("faiss@1.6.3: +python", type=("build", "run"))