py-webdataset: new package (#47187)

This commit is contained in:
Tamara Dahlgren 2024-10-24 12:22:05 -07:00 committed by GitHub
parent 3804d128e7
commit 4511052d26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,23 @@
# 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 PyWebdataset(PythonPackage):
"""Python-based I/O for deep learning problems."""
homepage = "https://github.com/webdataset/webdataset"
pypi = "webdataset/webdataset-0.1.62.tar.gz"
license("BSD-3-Clause")
version("0.1.62", sha256="78b6c7810116d6875fa1ed8eb2dea29a54b86fde014cc2069f4c08fc3530ceb5")
with default_args(type=("build", "link", "run")):
depends_on("python@3.6:")
# setup.py and requires.txt
depends_on("py-braceexpand")
depends_on("py-numpy")