The docker-compose dev setup was the inspiration for this feature; it
allows us to split the installation of dependencies and the project
itself into two phases. This in turn allows us to avoid rerunning
bootstrap if requirements.txt didn't change.
Signed-off-by: Zack Cerza <zack@redhat.com>
# Remove leftover .pyc files
find teuthology -name '*.pyc' -exec rm {} \;
-# Install teuthology in editable mode
-$VENV/bin/pip install --editable '.[test]'
+# By default, install teuthology in editable mode
+$VENV/bin/pip install ${PIP_INSTALL_FLAGS:---editable '.[test]'}
# Check to make sure requirements are met
$VENV/bin/pip check