diff --git a/bin/detect b/bin/detect
index 034e4c8b78711bf6acfb153f2270776311bdeb84..1d7041c500b0d31d5336a8c13c4dc939acf6f90d 100755
--- a/bin/detect
+++ b/bin/detect
@@ -2,7 +2,10 @@
 # bin/detect <build-dir>
 
 BUILD_DIR=$1
-[ -f $BUILD_DIR/requirements.txt ] || exit 1 # fail fast if no requirements.txt
+
+if [ -f $BUILD_DIR/requirements.txt ] || [ -f $BUILD_DIR/setup.py ]; then
+  exit 1
+fi
 
 # 'Python/Django' if there is a [mysite]/settings.py file present; otherwise 'Python'
-ls $BUILD_DIR/**/settings.py &> /dev/null && echo Python/Django || echo Python
\ No newline at end of file
+ls $BUILD_DIR/**/settings.py &> /dev/null && echo Python/Django || echo Python