diff --git a/bin/compile b/bin/compile index 0d11f3b1bb5651bf51c542c37bcbd33dcdd42285..c326d0c4e7362a1783200577063a62e079e53ba7 100755 --- a/bin/compile +++ b/bin/compile @@ -92,11 +92,7 @@ if [ ! -f requirements.txt ]; then fi # Reject a Django app that appears to be packaged incorrectly. -if [ "$NAME" = "Python" ]; then - [ -f settings.py ] && { puts-warn "Django settings must be in a package subdirectory"; exit 1; } - - (grep -Fiq "django" requirements.txt) && [ -f settings.py ] && { puts-warn "Django app must be in a package subdirectory"; exit 1; } -fi +grep -Fiq "django" requirements.txt) && [ -f settings.py ] && { puts-warn "Django app must be in a package subdirectory"; exit 1; } # Warn for a checked-in virtualenv. if [ -d "lib" ] || [ -d "bin" ]; then