aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-06-29 11:36:44 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-06-29 11:36:44 +0800
commitf0e6a736f8cc1f98e5f067b4e433f5af594e7c48 (patch)
treebf39c6544f53039c6f791d6a3981a05e317aafd7 /deploy
parent7107ed60659e23863ffcd227600bf741489f24d8 (diff)
Fix python pkg issue
1 add install pyyaml in build process 2 fix python pkg version Change-Id: Icb40bd52aa6cd22874894047561acb9211abfa22 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/prepare.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index 553449eb..1da91a5f 100755
--- a/deploy/prepare.sh
+++ b/deploy/prepare.sh
@@ -102,16 +102,16 @@ function _prepare_python_env() {
virtualenv $WORK_DIR/venv
source $WORK_DIR/venv/bin/activate
- pip install --upgrade cffi
- pip install --upgrade MarkupSafe
- pip install --upgrade pip
- pip install --upgrade cheetah
- pip install --upgrade pyyaml
- pip install --upgrade requests
- pip install --upgrade netaddr
- pip install --upgrade oslo.config
- pip install --upgrade ansible
- sudo pip install --upgrade docker-compose
+ pip install cffi==1.10.0
+ pip install MarkupSafe==1.0
+ pip install pip==9.0.1
+ pip install cheetah==2.4.4
+ pip install pyyaml==3.12
+ pip install requests==2.18.1
+ pip install netaddr==0.7.19
+ pip install oslo.config==4.6.0
+ pip install ansible==2.3.1.0
+ pip install docker-compose==1.14.0
fi
}