Skip to content

Commit

Permalink
python/its-vehicle: migrate to PEP517
Browse files Browse the repository at this point in the history
Signed-off-by: Yann E. MORIN <[email protected]>
  • Loading branch information
ymorin-orange committed Dec 17, 2024
1 parent 5da7ecd commit 01942d9
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 71 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- its-interqueuemanager
- its-quadkeys
- its-status
- its-vehicle
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/python_its-vehicle.yml

This file was deleted.

16 changes: 16 additions & 0 deletions python/its-vehicle/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
its-vehicle
===========

The _its-vehicle_ application generates [ITS CAM messages
](/schema/cam/cam_schema_1-1-3.json), and listens for any kind of [ITS
message](/schema/) in its vicinity [\*]. It feeds traces of such
exchanges back to an OpenTelemetry collector, to compute round-trip
times of messages in the ITS infra.

[\*] received messages are not acted upon; they are only monitored to
provide OpenTelemetry traces.

Configuration
-------------

See the `its-vehicle.cfg` file for an example configuration file.
31 changes: 31 additions & 0 deletions python/its-vehicle/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[build-system]
requires = ["setuptools>=65.5.1"]
build-backend = "setuptools.build_meta"

[project]
name = "its-vehicle"
version = "0.0.1"
authors = [
{ name="Yann E. MORIN", email="[email protected]" },
]
description = "ITS vehicle"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Development Status :: 4 - Beta",
]
dependencies = [
"iot3 @ git+https://github.com/Orange-OpenSource/its-client@2083d20a59c5191a1258ece823c0741fce672443#subdirectory=python/its-iot3",
"its-quadkeys @ git+https://github.com/Orange-OpenSource/its-client@2083d20a59c5191a1258ece823c0741fce672443#subdirectory=python/its-quadkeys",
"linuxfd==1.5",
]

[project.urls]
"Homepage" = "https://github.com/Orange-OpenSource/its-client"
"Bug Tracker" = "https://github.com/Orange-OpenSource/its-client/issues"

[project.scripts]
its-vehicle = "its_vehicle.main:main"
44 changes: 0 additions & 44 deletions python/its-vehicle/setup.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 01942d9

Please sign in to comment.