From c698adf7fa27e034df53d55ba75a98fd802ba67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Prpi=C4=8D?= Date: Fri, 23 Jan 2026 10:58:31 -0500 Subject: [PATCH] Add repomap dependencies as inline script metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes repomapy.py runnable with `uv` as a standalone script without having to clone the entire repository and install the dependencies with `pip`. Signed-off-by: Martin Prpič --- repomap.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/repomap.py b/repomap.py index eac444b..0a15c52 100644 --- a/repomap.py +++ b/repomap.py @@ -1,4 +1,15 @@ #!/usr/bin/env python3 +# /// script +# dependencies = [ +# # Keep versions in sync with requirements.txt +# "tree-sitter>=0.20.0", +# "tree-sitter-python>=0.20.0", +# "tree-sitter-javascript>=0.20.0", +# "tree-sitter-typescript>=0.20.0", +# "tree-sitter-go>=0.20.0", +# "tree-sitter-bash>=0.20.0", +# ] +# /// """ Repomap - Generate AI-friendly code structure maps using tree-sitter