38 lines
848 B
TOML
38 lines
848 B
TOML
[project]
|
|
name = "dora-image-viewer"
|
|
version = "0.4.1"
|
|
license = { file = "MIT" }
|
|
authors = [
|
|
{ name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
|
|
{ name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
|
|
]
|
|
description = "Dora Node for plotting text and bbox on image with OpenCV"
|
|
|
|
requires-python = ">=3.8"
|
|
|
|
dependencies = [
|
|
"dora-rs >= 0.3.9",
|
|
"numpy < 2.0.0",
|
|
"opencv-python >= 4.1.1",
|
|
"pillow-avif-plugin>=1.5.1",
|
|
"pillow>=10.4.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
|
|
|
|
[project.scripts]
|
|
dora-image-viewer = "dora_image_viewer.main:main"
|
|
|
|
[tool.ruff.lint]
|
|
extend-select = [
|
|
"D", # pydocstyle
|
|
"UP", # Ruff's UP rule
|
|
"PERF", # Ruff's PERF rule
|
|
"RET", # Ruff's RET rule
|
|
"RSE", # Ruff's RSE rule
|
|
"NPY", # Ruff's NPY rule
|
|
"N", # Ruff's N rule
|
|
"I", # Ruff's I rule
|
|
]
|