|
[build-system]
|
|
requires = ["hatchling", "hatch-requirements-txt", "hatch-fancy-pypi-readme>=22.5.0"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "gradio_client"
|
|
dynamic = ["version", "dependencies", "readme"]
|
|
description = "Python library for easily interacting with trained machine learning models"
|
|
license = "Apache-2.0"
|
|
requires-python = ">=3.8"
|
|
authors = [
|
|
{ name = "Abubakar Abid", email = "[email protected]" },
|
|
{ name = "Ali Abid", email = "[email protected]" },
|
|
{ name = "Ali Abdalla", email = "[email protected]" },
|
|
{ name = "Dawood Khan", email = "[email protected]" },
|
|
{ name = "Ahsen Khaliq", email = "[email protected]" },
|
|
{ name = "Pete Allen", email = "[email protected]" },
|
|
{ name = "Freddy Boulton", email = "[email protected]" },
|
|
]
|
|
keywords = ["machine learning", "client", "API"]
|
|
|
|
classifiers = [
|
|
'Development Status :: 4 - Beta',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Programming Language :: Python :: 3.10',
|
|
'Programming Language :: Python :: 3.11',
|
|
'Topic :: Scientific/Engineering',
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
'Topic :: Software Development :: User Interfaces',
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/gradio-app/gradio"
|
|
|
|
[tool.hatch.version]
|
|
path = "gradio_client/package.json"
|
|
pattern = ".*\"version\":\\s*\"(?P<version>[^\"]+)\""
|
|
|
|
[tool.hatch.metadata.hooks.requirements_txt]
|
|
filename = "requirements.txt"
|
|
|
|
[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
|
content-type = "text/markdown"
|
|
fragments = [
|
|
{ path = "README.md" },
|
|
]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/gradio_client",
|
|
"/README.md",
|
|
"/requirements.txt",
|
|
]
|
|
|
|
[tool.ruff]
|
|
extend = "../../pyproject.toml"
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = [
|
|
"gradio_client"
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
GRADIO_ANALYTICS_ENABLED = "False"
|
|
HF_HUB_DISABLE_TELEMETRY = "1"
|
|
|