chore(terms-database): declare flask dependency via uv script metadata
Convert server.py from a plain Python shebang to a uv-managed script so users can run it directly without manually installing flask first.
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env -S uv run --script
|
||||||
|
# /// script
|
||||||
|
# dependencies = ["flask"]
|
||||||
|
# ///
|
||||||
import sys, os
|
import sys, os
|
||||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user