From 11e150d0118ee9dcd1d6f9ce90c66e4ab9bd9c36 Mon Sep 17 00:00:00 2001 From: antoine-de Date: Tue, 6 Jun 2023 11:23:48 +0200 Subject: [PATCH] Add support for pyproject There is no more to do as a requirements.txt file will be created and be compatible --- bin/detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/detect b/bin/detect index e69295f15..525ecf9e0 100755 --- a/bin/detect +++ b/bin/detect @@ -15,7 +15,7 @@ BUILD_DIR=$1 # Exit early if app is clearly not Python. -if [ ! -f "$BUILD_DIR/requirements.txt" ] && [ ! -f "$BUILD_DIR/setup.py" ] && [ ! -f "$BUILD_DIR/Pipfile" ]; then +if [ ! -f "$BUILD_DIR/requirements.txt" ] && [ ! -f "$BUILD_DIR/setup.py" ] && [ ! -f "$BUILD_DIR/Pipfile" ] && [ ! -f "$BUILD_DIR/pyproject.toml" ]; then exit 1 fi