github.com/jchauncey/draft@v0.3.0/pkg/draft/pack/testdata/pack-python/detect (about)

     1  #!/usr/bin/env bash
     2  
     3  APP_DIR=$1
     4  
     5  # Exit early if app is clearly not Python.
     6  if [ ! -f $APP_DIR/requirements.txt ] && [ ! -f $APP_DIR/setup.py ] && [ ! -f $APP_DIR/Pipfile ]; then
     7    exit 1
     8  fi
     9  
    10  echo Python