26 lines
733 B
TOML
26 lines
733 B
TOML
# WOV FFmpeg 节点配置:使用 uv 管理环境与依赖。
|
||
[project]
|
||
name = "wov-node-ffmpeg"
|
||
version = "0.1.0"
|
||
description = "WOV ffmpeg media node"
|
||
requires-python = ">=3.11"
|
||
dependencies = ["wov-sdk", "imageio-ffmpeg>=0.6"]
|
||
|
||
# 本地路径依赖 wov-sdk;imageio-ffmpeg 用于内置 ffmpeg 回退。
|
||
[tool.uv.sources]
|
||
wov-sdk = { path = "../wov-sdk" }
|
||
|
||
# 开发依赖:pytest 与覆盖率工具。
|
||
[dependency-groups]
|
||
dev = ["pytest", "pytest-cov"]
|
||
|
||
# pytest 配置:强制 100% 行覆盖率。
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
pythonpath = ["."]
|
||
addopts = "--cov=wov_node_ffmpeg --cov-report=term-missing --cov-fail-under=100"
|
||
|
||
# 仅打包节点包本身。
|
||
[tool.setuptools]
|
||
packages = ["wov_node_ffmpeg"]
|