Use python3 to make tryton installer

This commit is contained in:
Cédric Krier
2026-04-21 11:41:23 +02:00
parent dd3d10756a
commit 420217e3e9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ gtk-query-immodules-3.0 \
| sed -e '/^#/d' \
| sed -e 's@/.*/lib/gtk-3.0@\@executable_path/lib/gtk-3.0@' \
> darwin/gtk-3.0/gtk.immodules
python ./hatch_build.py
python3 ./hatch_build.py
./setup-freeze.py bdist_mac
mkdir dist
mv build/Tryton.app dist/
+2 -2
View File
@@ -2,12 +2,12 @@
set -e
version=`./setup-freeze.py --version`
series=${version%.*}
bits=`python -c "import platform; print(platform.architecture()[0])"`
bits=`python3 -c "import platform; print(platform.architecture()[0])"`
rm -rf build dist
mkdir -p win32/gtk-3.0
gdk-pixbuf-query-loaders | sed -e '/^#/d' > win32/gtk-3.0/gdk-pixbuf.loaders
gtk-query-immodules-3.0 | sed -e '/^#/d' > win32/gtk-3.0/gtk.immodules
python ./hatch_build.py
python3 ./hatch_build.py
./setup-freeze.py install_exe -d dist
cp `which gdbus.exe` dist/
makensis -DVERSION=${version} -DSERIES=${series} -DBITS=${bits} setup.nsi