Make helper scripts directly executable with uv run shebang
guibuild.py and release.py use the project environment; rtorrent-manager.py is standalone and declares its own dependency via uv script metadata.
This commit is contained in:
Regular → Executable
+1
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env -S uv run
|
||||||
"""Build the desktop GUI application and package it as a version-numbered ZIP.
|
"""Build the desktop GUI application and package it as a version-numbered ZIP.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|||||||
Regular → Executable
+1
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env -S uv run
|
||||||
"""Publish a MediaHive release to Gitea.
|
"""Publish a MediaHive release to Gitea.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|||||||
Regular → Executable
+7
-1
@@ -1,4 +1,10 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env -S uv run
|
||||||
|
# /// script
|
||||||
|
# requires-python = ">=3.14"
|
||||||
|
# dependencies = [
|
||||||
|
# "bencodepy>=0.9.5",
|
||||||
|
# ]
|
||||||
|
# ///
|
||||||
"""Torrent Scanner - Scans for .torrent files and analyzes their trackers."""
|
"""Torrent Scanner - Scans for .torrent files and analyzes their trackers."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
Reference in New Issue
Block a user