diff --git a/bin/compile b/bin/compile index 9e936db..ead1384 100755 --- a/bin/compile +++ b/bin/compile @@ -45,19 +45,28 @@ if [ "$NAME" = "Python/Django" ]; then echo " Injecting code into $SETTINGS_FILE to read from DATABASE_URL" cat >>$SETTINGS_FILE < Django script installation" @@ -75,12 +84,8 @@ PIP_DOWNLOAD_CACHE=$PIP_DOWNLOAD_CACHE bin/pip install -r requirements.txt | sed echo "-----> Making virtualenv relocatable" virtualenv --relocatable . | sed -u 's/^/ /' -if [ "$NAME" = "Python/Django" ]; then - bin/pip freeze | grep psycopg2 > /dev/null || { echo " ! Missing psycopg2 dependency in requirements.txt"; exit 1; } -fi - # store new artifacts in cache for dir in $VIRTUALENV_DIRS; do rm -rf $CACHE_DIR/$dir cp -R $dir $CACHE_DIR/ -done \ No newline at end of file +done