ADDED .zip.py Index: .zip.py ================================================================== --- .zip.py +++ .zip.py @@ -0,0 +1,5 @@ +# pack: .zip.py=__main__.py +# +# All-local paths within pyz package. +import st2 +st2.main() Index: _pack ================================================================== --- _pack +++ _pack @@ -10,10 +10,11 @@ DEPS="-d python-pyquery -d python-gtk2 -d python-requests -d python-keybinder" fpm -s src -t deb -u man,fixperms $DEPS -p "$NAME-$VERSION.deb" --prefix=/usr/share/streamtuner2 --deb-compression xz -f st2.py #fpm -s src -t rpm -p "$NAME-$VERSION.rpm" --prefix=/usr/share/streamtuner2 --rpm-compression xz -f st2.py #fpm -s src -t exe -p "$NAME-$VERSION.exe" --prefix=/usr/share/streamtuner2 --exe-autoextract -f st2.py #fpm -s src -t tar -p "$NAME-$VERSION.bin.tar.xz" --prefix=/usr/local/share/streamtuner2 --verbose -f st2.py +fpm -s src -t zip -p "$NAME-$VERSION.pyz" --prefix=./ --verbose -f .zip.py st2.py exit #dpkg-deb -I streamtuner2*deb #dpkg-deb -c streamtuner2*deb ADDED bin Index: bin ================================================================== --- bin +++ bin @@ -0,0 +1,11 @@ +#!/usr/bin/env python +# api: cli +# type: wrapper +# title: streamtuner2 +# +# Invocation script for /usr/share/streamtuner2/streamtunertwo.py + +import sys +sys.path.insert(0, "/usr/share/streamtuner2") +import st2 +st2.main()