Skip to content

Commit 2ee9ec4

Browse files
committed
dist/tools/usb-serial: use pipx for as runner
This allows users to not having to care about python dependencies. In addition SPDX annotations have been added.
1 parent 95823dc commit 2ee9ec4

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

dist/tools/usb-serial/ttys.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env -S pipx run
2+
3+
# SPDX-FileCopyrightText: 2023 Otto-von-Guericke-Universität Magdeburg
4+
# SPDX-FileCopyrightText: 2026 ML!PA Consulting GmbH
5+
# SPDX-License-Identifier: LGPL-2.1-only
6+
7+
# /// script
8+
# requires-python = ">=3.10"
9+
# dependencies = [
10+
# "pyudev"
11+
# ]
12+
# ///
213
"""
314
Command line utility to list and filter TTYs
415
"""

0 commit comments

Comments
 (0)