-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (67 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (67 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "videowipe"
version = "0.7.0"
description = "Open-source local tool to remove hardcoded subtitles, watermarks, logos, and timestamps from video"
license = { file = "LICENSE" }
requires-python = ">=3.10"
dependencies = [
"opencv-python-headless>=4.5,<5",
"numpy",
"tqdm",
]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
]
[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"]