Files
dora-joy/pyproject.toml
cristhian 1f2c2ecf51
validate / test (push) Successful in 58m44s
validate / markdownlint (push) Successful in 58m40s
validate / validate (push) Successful in 58m40s
update version to 0.1.1 and pin examples to the tag
`v0.1` is an annotated tag, which dora 1.0.1 cannot check out: it records
the tag object's id as the commit hash, then rejects the checkout for
sitting on the peeled commit. `v0.1.1` is lightweight and resolves
straight to the commit.
2026-09-16 13:47:25 -03:00

50 lines
1.1 KiB
TOML

[project]
name = "dora-joy"
version = "0.1.1"
description = "Dora node publishing a gamepad's axes and buttons"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Liria" }]
# dora-rs 1.0 requires 3.11; the node uses PEP 604 unions.
requires-python = ">=3.11"
dependencies = [
"dora-rs >= 1.0.1",
"pyarrow >= 17.0",
# pygame-ce rather than evdev: evdev is Linux-only, and pygame-ce ships
# prebuilt wheels for linux-x86_64, linux-aarch64 and macos-arm64 — so no
# dependency here compiles from source.
"pygame-ce >= 2.4",
]
[dependency-groups]
dev = ["pytest >= 8.1", "ruff >= 0.9"]
[project.scripts]
dora-joy = "dora_joy.main:main"
dora-joy-probe = "dora_joy.probe:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dora_joy"]
[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"]