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:
iacore
2026-07-16 09:48:35 +08:00
parent 40abd7abe3
commit ee15159856
+4 -1
View File
@@ -1,4 +1,7 @@
#!/usr/bin/env python3
#!/usr/bin/env -S uv run --script
# /// script
# dependencies = ["flask"]
# ///
import sys, os
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))