File: make-win32-installer.sh

package info (click to toggle)
tryton-client 7.0.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,464 kB
  • sloc: python: 26,992; sh: 37; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e
version=`./setup.py --version`
series=${version%.*}
bits=`python -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
./setup.py compile_catalog
./setup-freeze.py install_exe -d dist
cp `which gdbus.exe` dist/
makensis -DVERSION=${version} -DSERIES=${series} -DBITS=${bits} setup.nsi