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
+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."""
|
||||
|
||||
import argparse
|
||||
|
||||
Reference in New Issue
Block a user