Skip to content

Commit

Permalink
[py-lpips] new package (spack#46256)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertos authored Sep 7, 2024
1 parent 7d6b643 commit ddc8790
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions var/spack/repos/builtin/packages/py-lpips/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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 PyLpips(PythonPackage):
"""LPIPS Similarity metric"""

homepage = "https://github.com/richzhang/PerceptualSimilarity"
pypi = "lpips/lpips-0.1.4.tar.gz"

license("BSD-2-Clause", checked_by="qwertos")

version("0.1.4", sha256="3846331df6c69688aec3d300a5eeef6c529435bc8460bd58201c3d62e56188fa")

depends_on("py-setuptools", type="build")
depends_on("[email protected]:", type=("build", "run"))
depends_on("[email protected]:", type=("build", "run"))
depends_on("[email protected]:", type=("build", "run"))
depends_on("[email protected]:", type=("build", "run"))
depends_on("[email protected]:", type=("build", "run"))

0 comments on commit ddc8790

Please sign in to comment.