mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
- Moves `tools/aap` + `tools/aap2` to `python-ud3tn-utils/aap*/bin/` to add the scripts to the python package - Adds a `main()` function to each script to reference it - Define `logger` as global variable - Adds a symbolic link to keep compatibility with existing tooling - Moves `tools/aap/aap_test.py` to `test/functional/` - Adds additional dependencies (pyd3tn, cbor) to python-ud3tn-utils and the corresponding nix package - Add scripts to python-ud3tn-utils `pyproject.toml` Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
41 lines
1.4 KiB
TOML
41 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools >= 61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "ud3tn-utils"
|
|
version = "0.13.0"
|
|
description = "μD3TN Utilities"
|
|
readme = "README.md"
|
|
license = { text = "AGPL-3.0-only" }
|
|
authors = [
|
|
{name = "D3TN GmbH", email = "contact@d3tn.com"},
|
|
]
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
"cbor==1.0.0",
|
|
"protobuf==4.24.4",
|
|
"pyd3tn==0.13.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://gitlab.com/d3tn/ud3tn"
|
|
|
|
[project.scripts]
|
|
aap-config = "ud3tn_utils.aap.bin.aap_config:main"
|
|
aap-contact-plan-reader = "ud3tn_utils.aap.bin.aap_contact_plan_reader:main"
|
|
aap-echo = "ud3tn_utils.aap.bin.aap_echo:main"
|
|
aap-ping = "ud3tn_utils.aap.bin.aap_ping:main"
|
|
aap-receive = "ud3tn_utils.aap.bin.aap_receive:main"
|
|
aap-send-and-receive = "ud3tn_utils.aap.bin.aap_send_and_receive:main"
|
|
aap-send = "ud3tn_utils.aap.bin.aap_send:main"
|
|
aap-storage-agent = "ud3tn_utils.aap.bin.aap_storage_agent:main"
|
|
|
|
aap2-bdm-static = "ud3tn_utils.aap2.bin.aap2_bdm_static:main"
|
|
aap2-bdm-ud3tn-routing = "ud3tn_utils.aap2.bin.aap2_bdm_ud3tn_routing:main"
|
|
aap2-config = "ud3tn_utils.aap2.bin.aap2_config:main"
|
|
aap2-configure-link = "ud3tn_utils.aap2.bin.aap2_configure_link:main"
|
|
aap2-ping = "ud3tn_utils.aap2.bin.aap2_ping:main"
|
|
aap2-receive = "ud3tn_utils.aap2.bin.aap2_receive:main"
|
|
aap2-send = "ud3tn_utils.aap2.bin.aap2_send:main"
|
|
aap2-storage-agent = "ud3tn_utils.aap2.bin.aap2_storage_agent:main"
|