31 lines
910 B
TOML
31 lines
910 B
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"
|
|
license = { text = "TBD" }
|
|
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]
|
|
# Trained-model detector (future work). PyTorch must be installed separately
|
|
# with the correct CUDA build — see README. Installing this extra only pulls in
|
|
# Ultralytics; it does NOT install torch.
|
|
yolo = ["ultralytics>=8.0"]
|
|
|
|
[project.scripts]
|
|
hvideotool = "hvideotool.__main__:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["hvideotool*"]
|