Ctrl K
ComunidadGuías…

pyproject.toml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "videowipe"
version = "0.11.1"
description = "Local hardcoded-subtitle and watermark remover: preview first, then wipe. CLI, Docker, web UI."
license = { file = "LICENSE" }
requires-python = ">=3.10"
keywords = [
    "video",
    "hardcoded-subtitles",
    "subtitle-removal",
    "watermark-removal",
    "logo-removal",
    "delogo",
    "video-inpainting",
    "sttn",
    "ocr",
    "self-hosted",
]
dependencies = [
    "opencv-python-headless>=4.5,<5",
    "numpy",
    "tqdm",
]
classifiers = [
    "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Multimedia :: Video",
    "Intended Audience :: Developers",
    "Intended Audience :: End Users/Desktop",
    "Environment :: Console",
    "Environment :: Web Environment",
]

[project.urls]
Homepage = "https://kkenny0.github.io/videowipe/"
Repository = "https://github.com/KKenny0/videowipe"
Issues = "https://github.com/KKenny0/videowipe/issues"
Changelog = "https://github.com/KKenny0/videowipe/releases"

[project.optional-dependencies]
torch = [
    "torch>=2.0",
    "torchvision",
]
onnx = [
    "onnxruntime>=1.15",
]
onnx-gpu = [
    "onnxruntime-gpu>=1.15",
]
# Compatibility alias: the default runtime is now already headless.
headless = []
ocr = [
    "rapidocr-onnxruntime",
]
web = [
    "fastapi>=0.138",
    "uvicorn[standard]>=0.20",
    "python-multipart>=0.0.6",
]
propainter = [
    "imageio>=2.31",
    "imageio-ffmpeg>=0.4",
]
all = [
    "videowipe[torch]",
    "videowipe[onnx]",
]
dev = ["pytest", "ruff", "build", "httpx2>=2,<3"]

[project.scripts]
videowipe = "videowipe.cli:main"

[tool.hatch.build.targets.wheel]
packages = ["src/videowipe"]

[tool.hatch.build.targets.sdist]
include = [
    "/examples",
    "/scripts/propainter_wipe.py",
    "/scripts/smoke_installed.py",
    "/scripts/verify_package.py",
    "/src",
    "/tests",
    "/LICENSE",
    "/README.md",
    "/README_CN.md",
    "/pyproject.toml",
]

[tool.pytest.ini_options]
pythonpath = ["src"]