diff --git a/pip.conf b/pip.conf index abd6b8d..39d8e11 100644 --- a/pip.conf +++ b/pip.conf @@ -1,4 +1,3 @@ [global] -index-url = http://pypi.douban.com/simple -[install] -trusted-host = pypi.douban.com \ No newline at end of file +index-url = https://pypi.tuna.tsinghua.edu.cn/simple +trusted-host = pypi.tuna.tsinghua.edu.cn diff --git a/start.sh b/start.sh index 237b016..62a4174 100644 --- a/start.sh +++ b/start.sh @@ -32,7 +32,7 @@ git pull origin $DEV echo "列出代码文件信息" ls -l echo "安装并升级pip依赖" -pip install -r requirements.txt -U +pip install -r requirements.txt if [ ! -f db/hosts ]; then echo "未自定义HOSTS,默认写入" echo 172.64.153.252 u2.dmhy.org >>/etc/hosts