diff --git a/tools/apidoc/build-apidoc.sh b/tools/apidoc/build-apidoc.sh index 33123b31f2b..21cceb0a282 100755 --- a/tools/apidoc/build-apidoc.sh +++ b/tools/apidoc/build-apidoc.sh @@ -77,10 +77,10 @@ set -e gen_toc_file="`cygpath -w $thisdir`\\gen_toc.py" for file in `find . -type f`; do echo "Parse file $file"; - python $gen_toc_file $file; + python3 $gen_toc_file $file; done else - python "$thisdir/gen_toc.py" $(find . -type f) + python3 "$thisdir/gen_toc.py" $(find . -type f) fi cat generatetoc_include.xsl >> generatetoc.xsl diff --git a/tools/marvin/mvn-setup.py b/tools/marvin/mvn-setup.py index 5aa251b9077..a6b17e56ed0 100755 --- a/tools/marvin/mvn-setup.py +++ b/tools/marvin/mvn-setup.py @@ -42,7 +42,7 @@ def replaceVersion(fname, version): def runSetupScript(args): """Invoke setup.py with the provided arguments""" - cmd = ['python', setupScript] + args + cmd = ['python3', setupScript] + args exitCode = subprocess.call(cmd) return exitCode diff --git a/tools/marvin/pom.xml b/tools/marvin/pom.xml index 55c7554946e..2d4c71e00c0 100644 --- a/tools/marvin/pom.xml +++ b/tools/marvin/pom.xml @@ -86,7 +86,7 @@ ${exec.workingdir} - python + python3 mvn-setup.py ${project.version} @@ -140,7 +140,7 @@ ${exec.workingdir} - python + python3 mvn-setup.py ${project.version} @@ -209,7 +209,7 @@ ${basedir}/marvin - python + python3 deployAndRun.py -c