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:
2026-09-09 02:08:49 +00:00
parent 23030cd1c4
commit c072f15cb5
3 changed files with 9 additions and 1 deletions
Regular → Executable
+1
View File
@@ -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
View File
@@ -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
View File
@@ -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