MAINT make it possible to vendor a local repo of joblib
This is useful to test a branch of the joblib source prior to releasing joblib.
cd sklearn/externals
bash copy_joblib.sh /path/to/local/joblib-git-repo
[ci skip]
#!/bin/sh
# Script to do a local install of joblib
+set +x
export LC_ALL=C
INSTALL_FOLDER=tmp/joblib_install
rm -rf joblib $INSTALL_FOLDER
-pip install joblib --target $INSTALL_FOLDER
+if [ -z "$1" ]
+then
+ JOBLIB=joblib
+else
+ JOBLIB=$1
+fi
+
+pip install $JOBLIB --target $INSTALL_FOLDER
cp -r $INSTALL_FOLDER/joblib .
rm -rf $INSTALL_FOLDER
