Skip to content

Commit

Permalink
Merge pull request #6363 from jburel/python3
Browse files Browse the repository at this point in the history
specify python3
  • Loading branch information
jburel authored Dec 1, 2023
2 parents 2db65a9 + 9d92341 commit 6a2adc4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ To get started using Eclipse, execute "ant build-dev" and import the top-level
<target name="release-src-git" description="Package the git source tree (git)"
depends="check-git" if="git.exists">
<mkdir dir="${target.dir}"/>
<exec executable="python" failonerror="true">
<exec executable="python3" failonerror="true">
<arg value="${omero.home}/components/antlib/scripts/source-archive.py"/>
<arg value="openmicroscopy"/>
<arg value="${omero.shortversion}"/>
Expand Down
4 changes: 2 additions & 2 deletions components/antlib/resources/global.xml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
<echo>Building with SLICE2CPP=${ice.slice2cpp}</echo>
<echo>Building with SLICE2HTML=${ice.slice2html}</echo>
<echo>Building with SLICEPATH=${ice.slicepath}</echo>
<exec executable="python" dir="@{dir}" failonerror="@{failonerror}">
<exec executable="python3" dir="@{dir}" failonerror="@{failonerror}">
<env key="PYTHONPATH" value="@{pythonpath}"/>
<env key="ICE_HOME" value="${ice.home}"/>
<env key="SLICE2CPP" value="${ice.slice2cpp}"/>
Expand All @@ -470,7 +470,7 @@
<attribute name="failonerror" default="true"/>
<element name="args" implicit="true"/>
<sequential>
<exec executable="python" failonerror="@{failonerror}">
<exec executable="python3" failonerror="@{failonerror}">
<env key="ICE_CONFIG" value="${env.ICE_CONFIG}"/>
<env key="PYTHONPATH" path="test:build/lib:${env.PYTHONPATH}"/>
<arg value="${basedir}/setup.py"/>
Expand Down
2 changes: 1 addition & 1 deletion components/tools/python.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build_year = "${python_build_year}"
<attribute name="failonerror" default="true"/>
<element name="args" implicit="true"/>
<sequential>
<exec executable="python" failonerror="@{failonerror}">
<exec executable="python3" failonerror="@{failonerror}">
<args/>
</exec>
</sequential>
Expand Down
4 changes: 2 additions & 2 deletions docs/hudson/OMERO.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ set -x
source docs/hudson/functions.sh
echo Building $OMERO_BRANCH

./build.py build-dev release-all
python3 ./build.py build-dev release-all
if [ -d .git ]
then
./build.py release-src
python3 ./build.py release-src
fi

# Log information
Expand Down

0 comments on commit 6a2adc4

Please sign in to comment.