Commit 08cfcff6 authored by kewei.jia's avatar kewei.jia

下载pip

parent 82e2edc2
......@@ -16,16 +16,16 @@ tar zxf ${package_path}/dist.tgz -C ${package_path}/
echo "rm -rf ${package_path}/dist.tgz"
rm -rf ${package_path}/dist.tgz
echo "prepare ~/.pip/pip.conf"
mkdir -p ~/.pip/
touch ~/.pip/pip.conf
echo "[global]" >> ~/.pip/pip.conf
echo "index-url=https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
echo "[install]" >> ~/.pip/pip.conf
echo "trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf
echo "pip intall requirements"
pip install -r ${package_path}/requirements.txt
#echo "prepare ~/.pip/pip.conf"
#mkdir -p ~/.pip/
#touch ~/.pip/pip.conf
#echo "[global]" >> ~/.pip/pip.conf
#echo "index-url=https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
#echo "[install]" >> ~/.pip/pip.conf
#echo "trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf
#
#echo "pip intall requirements"
#pip install -r ${package_path}/requirements.txt
echo "sed domain.com to liangkebang.com"
find ${package_path}/ -type f -name "*.conf" | xargs sed -i "s#\.domain\.com#-$NAMESPACE.liangkebang.com#g"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment