rm -fr install-deps
virtualenv --python $interpreter install-deps
. install-deps/bin/activate
- pip install wheel
+ pip --log install-deps/log.txt install wheel
find . -name tox.ini | while read ini ; do
(
cd $(dirname $ini)
if test "$require" ; then
# although pip comes with virtualenv, having a recent version
# of pip matters when it comes to using wheel packages
- pip wheel $require 'distribute >= 0.7' 'pip >= 6.1'
+ pip --log install-deps/log.txt wheel $require 'distribute >= 0.7' 'pip >= 6.1'
fi
)
done
. make-check/bin/activate
# older versions of pip will not install wrap_console scripts
# when using wheel packages
-pip install --upgrade 'pip >= 6.1'
+pip --log make-check/log.txt install --upgrade 'pip >= 6.1'
if test -d wheelhouse ; then
export NO_INDEX=--no-index
fi
-pip install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse --upgrade distribute
-pip install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse 'tox >=1.9'
+pip --log make-check/log.txt install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse --upgrade distribute
+pip --log make-check/log.txt install $NO_INDEX --use-wheel --find-links=file://$(pwd)/wheelhouse 'tox >=1.9'
tox 2>&1 | grep -v InterpreterNotFound
if test -d ceph-detect-init/wheelhouse ; then
wheelhouse="--no-index --use-wheel --find-links=ceph-detect-init/wheelhouse"
fi
- pip install $wheelhouse --editable ceph-detect-init
+ pip --log virtualenv-$DIR/log.txt install $wheelhouse --editable ceph-detect-init
)
OSD_DATA=$DIR/osd
MON_ID=a
# patched cram to support that. See upstream ticket at
# https://bitbucket.org/brodie/cram/issue/9/allow-read-only-directories-for-t
# -- tv@inktank.com
- virtualenv "$VENV" && $VENV/bin/pip install "$SRCDIR/downloads/cram-0.5.0ceph.2011-01-14.tar.gz"
+ virtualenv "$VENV" && $VENV/bin/pip --log "$VENV"/log.txt install "$SRCDIR/downloads/cram-0.5.0ceph.2011-01-14.tar.gz"
fi
SRCDIR_ABS="$(readlink -f "$SRCDIR")"