From 8499614af60bc6cdf13a248c7abab3faeaa2e59f Mon Sep 17 00:00:00 2001 From: zhaoxinyu Date: Fri, 14 Mar 2014 03:12:34 +0000 Subject: [PATCH] Prepare the installation of dependencies according to requirement files Change-Id: I9a940217f5be6fbf4c303daca707836bc97d47e2 --- install/dependency.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/dependency.sh b/install/dependency.sh index 3b32d3d5..cce5a4de 100755 --- a/install/dependency.sh +++ b/install/dependency.sh @@ -14,7 +14,8 @@ if [[ "$?" != "0" ]]; then exit 1 fi -sudo pip install flask-script flask-restful Celery six discover unittest2 pychef requests +sudo pip install -r $COMPASSDIR/requirements.txt +sudo pip install -r $COMPASSDIR/test-requirements.txt if [[ "$?" != "0" ]]; then echo "failed to install pip packages" exit 1