Install tempest instead of just adding it to PYTHONPATH

This commit really does a setup on tempest instead of just adding it
to the python path. The advantage of this is that entry points for
scripts like verify-tempest-config will actually be linked properly
so that they can be run directly.

Change-Id: I42a433955fde2e43ba783ccfdd08b893518358b4
This commit is contained in:
Matthew Treinish 2014-09-11 11:12:34 -04:00
parent ada968e162
commit bf6e25aadc

View File

@ -32,7 +32,7 @@ echo "Successfully contacted the Barbican (admin) API"
# Where tempest code lives # Where tempest code lives
TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest} TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest}
# Add tempest source tree to PYTHONPATH # Install tempest
export PYTHONPATH=$PYTHONPATH:$TEMPEST_DIR pip install -e $TEMPEST_DIR
nosetests -v . nosetests -v .