To compile, simply type:
$ sh build.sh
When first run the script will setup PyInstaller, too. But you have to install the developer
package for python first or it will abort with an error. Maybe the script needs root rights
to read all python files ... but it's your choice to you run it as root user or normal user.
Further information on PyInstaller is available here: http://www.pyinstaller.org/
A manual is here: http://www.pyinstaller.org/export/latest/trunk/doc/Manual.html?format=raw
NOTICE:
To compile you have to edit line 29 in /usr/lib/python2.6/site-packages/PyQt4/uic/objcreator.py.
Change
plugins = os.listdir(plugindir)
to
plugins = [] #os.listdir(plugindir)
And compile. Please undo your change afterwards.