From 26e5d2cb33b67a52c49eda51adc9232bf3aced65 Mon Sep 17 00:00:00 2001 From: keminar Date: Mon, 18 Jul 2016 18:52:49 +0800 Subject: [PATCH] py fix --- shell/debian.sh | 2 +- shell/util.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/debian.sh b/shell/debian.sh index 24ccb8d..5b8ce2b 100644 --- a/shell/debian.sh +++ b/shell/debian.sh @@ -3,6 +3,6 @@ # 编译环境 function install_build { - apt-get install build-essential + apt-get install build-essential libssl-dev show_log "Build environment installed" } diff --git a/shell/util.sh b/shell/util.sh index a571809..a0aaf8e 100644 --- a/shell/util.sh +++ b/shell/util.sh @@ -26,7 +26,7 @@ function install_ez return fi cd $DIST_DIR - wget -c -q http://peak.telecommunity.com/dist/ez_setup.py | tee -a $LOG_FILE + wget -c --no-check-certificate https://bootstrap.pypa.io/ez_setup.py | tee -a $LOG_FILE $INSTALL_DIR/python/bin/python ez_setup.py | tee -a $LOG_FILE show_log "Easy_install installed" } @@ -50,7 +50,7 @@ function install_pip return fi cd $DIST_DIR - wget -c --no-check-certificate https://raw.github.com/pypa/pip/master/contrib/get-pip.py | tee -a $LOG_FILE + wget -c --no-check-certificate https://bootstrap.pypa.io/get-pip.py | tee -a $LOG_FILE $INSTALL_DIR/python/bin/python get-pip.py | tee -a $LOG_FILE show_log "Pip installed" }