aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xgeoip6
2 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index cc9cc16..0d4c73e 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,6 @@ Some scripts require the following to be installed and in your system path:
- ffmpeg (with Xcb support)
- fzf
- ImageMagick
-- python3 (with requests library)
+- uv
- zpool
- $EDITOR environment variable set
diff --git a/geoip b/geoip
index 0378733..62ca35c 100755
--- a/geoip
+++ b/geoip
@@ -1,5 +1,7 @@
-#!/usr/bin/env nix-shell
-#!nix-shell -i python3 --pure -p 'python3.withPackages (p: [ p.requests ])'
+#!/usr/bin/env -S uv run -qs
+# /// script
+# dependencies = ["requests"]
+# ///
import argparse
import requests