summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-annoy/package.py
blob: 104e8a18cef5823e074700cfad03d811a7c0d910 (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
# 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 PyAnnoy(PythonPackage):
    """Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python
    bindings to search for points in space that are close to a given query point.
    It also creates large read-only file-based data structures that are mmapped into
    memory so that many processes may share the same data."""

    homepage = "https://github.com/spotify/annoy"
    pypi = "annoy/annoy-1.17.1.tar.gz"

    license("Apache-2.0")

    version("1.17.1", sha256="bf177dbeafb81f63b2ac1e1246b1f26a2acc82e73ba46638734d29d8258122da")

    depends_on("py-setuptools", type="build")
    depends_on("py-nose@1:", type="build")