From 5ada3d056d9a3af7ae4a14448a7a36dbe2d9edf1 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 9 Feb 2023 22:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=AF=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pip.conf | 5 ++--- start.sh | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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