From 885f7320b4b312ddfd5690140750c5e35662360e Mon Sep 17 00:00:00 2001 From: Badri Vishal Pandey Date: Thu, 5 Nov 2026 22:09:50 +0530 Subject: [PATCH] fix(detect): recognize requirements-only Python projects --- scripts/lib/detect-stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/detect-stack.sh b/scripts/lib/detect-stack.sh index 73172d2..d48eb01 100644 --- a/scripts/lib/detect-stack.sh +++ b/scripts/lib/detect-stack.sh @@ -5,7 +5,7 @@ detect_stack() { # detect_stack -> prints stack name on stdout local dir="$1" if [ -f "$dir/package.json" ]; then echo "node" - elif [ -f "$dir/pyproject.toml" ] || [ -f "$dir/setup.py" ]; then echo "python" + elif [ -f "$dir/pyproject.toml" ] || [ -f "$dir/setup.py" ] || [ -f "$dir/requirements.txt" ] || [ -f "$dir/setup.cfg" ]; then echo "python" elif [ -f "$dir/Cargo.toml" ]; then echo "rust" elif [ -f "$dir/go.mod" ]; then echo "go" elif [ -f "$dir/composer.json" ]; then echo "php"