Permalink
Browse files

MISC: improve copy_joblib script

Used to integrate joblib in externals
  • Loading branch information...
1 parent 9ad004f commit 235f274d14f09a589c594d7bf367eae1406840a6 @GaelVaroquaux GaelVaroquaux committed Dec 28, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 sklearn/externals/copy_joblib.sh
@@ -14,3 +14,5 @@ python setup.py install --prefix $old_pwd/tmp
cd $old_pwd
cp -r tmp/lib/python2.7/site-packages/joblib-*.egg/joblib .
rm -rf tmp
+# Needed to rewrite the doctests
+find joblib -name "*.py" | xargs sed -i "s/from joblib/from sklearn.externals.joblib/"

0 comments on commit 235f274

Please sign in to comment.