1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

uiauto/build_scripts: Update to use python3

Ensure we are invoking python3 when attempting to import `wa` and
update the printing syntax to be compatible.
This commit is contained in:
Marc Bonnici
2019-09-06 10:49:30 +01:00
committed by setrofim
parent 023cb88ab1
commit 75878e2f27
21 changed files with 21 additions and 21 deletions

View File

@@ -31,7 +31,7 @@ fi
# Copy base class library from wlauto dist
libs_dir=app/libs
base_class=`python -c "import os, wa; print os.path.join(os.path.dirname(wa.__file__), 'framework', 'uiauto', 'uiauto.aar')"`
base_class=`python3 -c "import os, wa; print(os.path.join(os.path.dirname(wa.__file__), 'framework', 'uiauto', 'uiauto.aar'))"`
mkdir -p $libs_dir
cp $base_class $libs_dir