File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed
Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -1173,29 +1173,6 @@ export LC_CTYPE=en_US.UTF-8
11731173export LC_ALL=en_US.UTF-8
11741174# need to set lang to address some pip module installation issue.
11751175
1176- if [[ $DEV == " OFF" ]] ; then
1177-
1178- if [[ $PROVIDER == " Alibaba Cloud" ]] ; then
1179- pip install --upgrade pip
1180- pip install setuptools==40.8.0
1181- fi
1182-
1183- if [[ $SERVER_OS == " CentOS" ]] ; then
1184- pip install virtualenv==16.7.9
1185- else
1186- pip install virtualenv
1187- fi
1188-
1189- virtualenv --system-site-packages /usr/local/CyberPanel
1190- source /usr/local/CyberPanel/bin/activate
1191- rm -rf requirements.txt
1192- wget -O requirements.txt https://$GIT_CONTENT_URL /1.8.0/requirments.txt
1193- check_return
1194- pip install --ignore-installed -r requirements.txt
1195- check_return
1196- virtualenv --system-site-packages /usr/local/CyberPanel
1197- fi
1198-
11991176if [[ $DEV == " ON" ]] ; then
12001177 # install dev branch
12011178 # wget https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
@@ -1204,6 +1181,8 @@ if [[ $DEV == "ON" ]] ; then
12041181 source /usr/local/CyberPanel/bin/activate
12051182 wget -O requirements.txt https://$GIT_CONTENT_URL /${BRANCH_NAME} /requirments.txt
12061183 check_return
1184+ pip3 uninstall setuptools -y
1185+ pip3 install setuptools==45.3.0
12071186 pip3.6 install --ignore-installed -r requirements.txt
12081187 check_return
12091188 cd -
You can’t perform that action at this time.
0 commit comments