spack/var/spack/repos/builtin/packages/py-fastpath/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

22 lines
768 B
Python

# 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 PyFastpath(PythonPackage):
"""Fastpath is a fast and lightweight tool for finding the shortest path in
a weighted graph. As input it only needs the starting node, the ending node,
and the weights of each node to node edge."""
homepage = "https://github.com/deprekate/fastpath"
pypi = "fastpath/fastpath-1.9.tar.gz"
version("1.9", sha256="3372d306a3c4e4e764b3995946132333726a229e9002879b9112779dd442b31a")
depends_on("python@3.5.3:", type=("build", "run"))
depends_on("py-setuptools", type="build")