Rewrites lingering github.com / *.sr.ht references to this Gitea instance, translating GitHub and Sourcehut URL shapes to Gitea's (/blob/<ref>/ and sr.ht /tree/<ref>/item/ -> /src/branch/<ref>/, /tree/<tag> -> /src/tag/<tag>, /actions/workflows/X -> /actions?workflow=X, /edit/ -> /_edit/). Left pointing at the old hosts on purpose: pull-request links (PRs were not migrated), forks that were never migrated, and GitHub-only surfaces Gitea lacks. OpenPGP identity proofs are untouched by design.
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[project]
|
|
name = "donglora"
|
|
version = "1.1.0"
|
|
description = "DongLoRa host library — talk LoRa from Python over USB"
|
|
license = "MIT"
|
|
requires-python = ">=3.10"
|
|
readme = "README.md"
|
|
authors = [{ name = "Stephen Waits", email = "steve@waits.net" }]
|
|
keywords = ["lora", "radio", "usb", "embedded", "serial"]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Communications :: Ham Radio",
|
|
"Topic :: System :: Hardware",
|
|
]
|
|
dependencies = [
|
|
"cobs",
|
|
"pyserial",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
meshcore = ["pycryptodome", "pynacl"]
|
|
orac = ["pycryptodome", "pynacl", "anthropic"]
|
|
|
|
[project.urls]
|
|
Repository = "https://git.swaits.com/donglora/client-py"
|
|
Homepage = "https://git.swaits.com/donglora/client-py"
|
|
|
|
[dependency-groups]
|
|
dev = ["ruff", "pytest", "pytest-cov"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "W", "F", "I", "UP", "B", "C4", "ARG", "SIM", "RUF"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["donglora"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|