diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-gradio/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-gradio/package.py | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gradio/package.py b/var/spack/repos/builtin/packages/py-gradio/package.py new file mode 100644 index 0000000000..43f9b74c4e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-gradio/package.py @@ -0,0 +1,46 @@ +# 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 PyGradio(PythonPackage): + """Python library for easily interacting with trained machine learning models""" + + homepage = "https://github.com/gradio-app/gradio" + pypi = "gradio/gradio-3.36.1.tar.gz" + + version("3.36.1", sha256="1d821cee15da066c24c197248ba9aaed5f5e59505d17754561c2f96f90e73a89") + + depends_on("python@3.8:", type=("build", "run")) + depends_on("py-hatchling", type="build") + depends_on("py-hatch-requirements-txt", type="build") + depends_on("py-hatch-fancy-pypi-readme@22.5.0:", type="build") + depends_on("py-aiofiles", type=("build", "run")) + depends_on("py-aiohttp", type=("build", "run")) + depends_on("py-altair@4.2.0:", type=("build", "run")) + depends_on("py-fastapi", type=("build", "run")) + depends_on("py-ffmpy", type=("build", "run")) + depends_on("py-gradio-client@0.2.7:", type=("build", "run")) + depends_on("py-httpx", type=("build", "run")) + depends_on("py-huggingface-hub@0.14.0:", type=("build", "run")) + depends_on("py-jinja2", type=("build", "run")) + depends_on("py-markdown-it-py@2.0.0:+linkify", type=("build", "run")) + depends_on("py-pygments@2.12.0:", type=("build", "run")) + depends_on("py-mdit-py-plugins@:0.3.3", type=("build", "run")) + depends_on("py-markupsafe", type=("build", "run")) + depends_on("py-matplotlib", type=("build", "run")) + depends_on("py-numpy", type=("build", "run")) + depends_on("py-orjson", type=("build", "run")) + depends_on("py-pandas", type=("build", "run")) + depends_on("pil", type=("build", "run")) + depends_on("py-pydantic", type=("build", "run")) + depends_on("py-python-multipart", type=("build", "run")) + depends_on("py-pydub", type=("build", "run")) + depends_on("py-pyyaml", type=("build", "run")) + depends_on("py-requests", type=("build", "run")) + depends_on("py-semantic-version", type=("build", "run")) + depends_on("py-uvicorn@0.14.0:", type=("build", "run")) + depends_on("py-websockets@10.0:", type=("build", "run")) |