Files

32 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "hvideotool"
version = "0.1.0"
description = "Desktop GUI utility that detects and outlines already-applied censorship in images"
readme = "README.md"
requires-python = ">=3.11"
# GPL-3.0: the project vendors DeepMosaics (GPL-3.0) for mosaic restoration.
license = { text = "GPL-3.0-or-later" }
authors = [{ name = "Leonid Pershin" }]
dependencies = [
"PySide6>=6.6",
"opencv-python>=4.8",
"numpy>=1.24",
"imageio-ffmpeg>=0.4", # bundles an ffmpeg binary for "Создать из ролика…"
]
[project.optional-dependencies]
# YOLO detector (Ultralytics). PyTorch must be installed separately with the correct
# CUDA build — see README. This extra only pulls in Ultralytics; it does NOT install
# torch. Both detection (YOLO) and restoration (DeepMosaics) need torch at runtime.
yolo = ["ultralytics>=8.0"]
[project.scripts]
hvideotool = "hvideotool.__main__:main"
[tool.setuptools.packages.find]
include = ["hvideotool*"]