Use python3 to make tryton installer
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user