36 lines
672 B
TOML
36 lines
672 B
TOML
[project]
|
|||
|
|
name = "tmux-shot"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Drive a TUI inside tmux from Python and capture pixel-accurate PNG screenshots of it."
|
||
|
|
readme = "README.md"
|
||
|
|
requires-python = ">=3.9"
|
||
|
|
dependencies = [
|
||
|
|
"libtmux>=0.37",
|
||
|
|
"pyte>=0.8.2",
|
||
|
|
"pillow>=10.0",
|
||
|
|
"click>=8.1",
|
||
|
|
"openai>=2.48.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
tmux-shot = "tmux_shot.cli:main"
|
||
|
|
tmux-agent = "tmux_shot.agent_cli:main"
|
||
|
|
|
||
|
|
[build-system]
|
||
|
|
requires = ["hatchling"]
|
||
|
|
build-backend = "hatchling.build"
|
||
|
|
|
||
|
|
[tool.hatch.build.targets.wheel]
|
||
|
|
packages = ["src/tmux_shot"]
|
||
|
|
|
||
|
|
[tool.uv]
|
||
|
|
package = true
|
||
|
|
|
||
|
|
[dependency-groups]
|
||
|
|
dev = [
|
||
|
|
"pytest>=8.4.2",
|
||
|
|
]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|