Files
dora-teleop/pyproject.toml

51 lines
1.3 KiB
TOML

[project]
name = "dora-teleop"
version = "0.3.0"
description = "Dora node giving a human the arm, from a gamepad or a browser"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Liria" }]
# dora-rs 1.0 requires 3.11; this node standardises on 3.12.
requires-python = ">=3.12"
# No hardware dependency. The pad is `dora-joy` and the arm is `dora-ulite6`;
# this node decides, and serves the console that asks it to.
dependencies = [
"dora-rs >= 1.0.1",
"pyarrow >= 17.0",
# The web console: the page and the browsers' sockets on one port. Replaces
# `dora-websocket-transceiver`, which was a second node for the same job.
"aiohttp >= 3.9",
]
[dependency-groups]
dev = ["pytest >= 8.1", "ruff >= 0.9"]
[project.scripts]
dora-teleop = "dora_teleop.main:main"
dora-teleop-probe = "dora_teleop.probe:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dora_teleop"]
[tool.ruff]
line-length = 110
[tool.ruff.lint]
extend-select = ["D", "I", "N", "RET", "UP"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
# Test names are the documentation here; a docstring would only repeat them.
"tests/*" = ["D1"]
[tool.pytest.ini_options]
testpaths = ["tests"]