diff --git a/bin/compile b/bin/compile index 0e076d79bb6a484d3242dc603e9022c7396a4d04..c8155aea449feb8c663f74bcd77ea3fcf45a8fef 100755 --- a/bin/compile +++ b/bin/compile @@ -150,6 +150,9 @@ mkdir -p $(dirname $PROFILE_PATH) # Install Python. source $BIN_DIR/steps/python +# Sanity check for setuptools/distribute. +source $BIN_DIR/steps/setuptools + # Uninstall removed dependencies with Pip. source $BIN_DIR/steps/pip-uninstall diff --git a/bin/steps/setuptools b/bin/steps/setuptools new file mode 100755 index 0000000000000000000000000000000000000000..870cfd4a527475f0c0c5456a2eb2dcab435b2045 --- /dev/null +++ b/bin/steps/setuptools @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Syntax sugar. +source $BIN_DIR/utils + +if (pip-grep -s requirements.txt setuptools distribute &> /dev/null) then + + puts-warn 'The package setuptools/distribute is listed in requirements.txt.' + puts-warn 'Please remove to ensure expected behavior. ' + +fi