未验证 提交 e0f8bee2 编写于 作者: O openharmony_ci 提交者: Gitee

!148 xdevice新目录适配L0、L1编译

Merge pull request !148 from liguangjie/master
......@@ -37,6 +37,12 @@ python -c "import pip"
goto:eof
)
python -c "import easy_install"
@if errorlevel 1 (
@echo "Please install setuptools first!"
goto:eof
)
if not exist %TOOLS% (
@echo "no %TOOLS% directory exist"
goto:eof
......@@ -47,7 +53,7 @@ python -m pip uninstall -y xdevice-extension
python -m pip uninstall -y xdevice-ohos
for %%a in (%TOOLS%/*.egg) do (
python -m pip install --user %TOOLS%/%%a
python -m easy_install --user %TOOLS%/%%a
@if errorlevel 1 (
@echo "Error occurs to install %%a!"
)
......
......@@ -33,6 +33,7 @@ $PYTHON -c 'import sys; exit(1) if sys.version_info.major < 3 or sys.version_inf
error "Python3.7 or higher version required!"
cd $(dirname "$0") || error "Failure to change direcory!"
$PYTHON -c "import pip" || error "Please install pip first!"
$PYTHON -c "import easy_install" || error "Please install setuptools first!"
if [ ! -d $TOOLS ]; then
error "$TOOLS directory not exists"
......@@ -47,7 +48,7 @@ do
if [ ! -e "$f" ]; then
error "Can not find xdevice package!"
fi
$PYTHON -m pip install --user "$f" || echo "Error occurs to install $f!"
$PYTHON -m easy_install --user "$f" || echo "Error occurs to install $f!"
done
for f in "$TOOLS"/*.tar.gz
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册