diff --git a/packages/curator/packaging b/packages/curator/packaging index 200b07b..2b86f77 100644 --- a/packages/curator/packaging +++ b/packages/curator/packaging @@ -3,7 +3,13 @@ set -u # report the usage of uninitialized variables export PATH=/var/vcap/packages/python3/bin:$PATH -pip3 install --install-option="--prefix=$BOSH_INSTALL_TARGET" curator/urllib3-1.8.3.tar.gz -pip3 install --install-option="--prefix=$BOSH_INSTALL_TARGET" curator/click-3.3.tar.gz -pip3 install --install-option="--prefix=$BOSH_INSTALL_TARGET" curator/elasticsearch-py.tar.gz -pip3 install --install-option="--prefix=$BOSH_INSTALL_TARGET" curator/elasticsearch-curator.tar.gz +echo "All dependancies should be in $BOSH_COMPILE_TARGET/curator" +find $BOSH_COMPILE_TARGET/curator + +# --no-index prevents contacting pypi to download packages +# --find-links tells pip where to look for the dependancies +pip3 install --no-index --find-links $BOSH_COMPILE_TARGET/curator --install-option="--prefix=$BOSH_INSTALL_TARGET" elasticsearch-curator + +echo "Installed to $BOSH_INSTALL_TARGET" +find $BOSH_INSTALL_TARGET +