Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ branch:  streamtuner2


Check-in [233327230c]

Overview
Comment:Add new packaging scheme: `bin` becomes /usr/bin/ stub, while `.zip.py` is used as __main__ handler for PYZ archive.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 233327230c37eac971631743663b05e5ad988957
User & Date: mario on 2015-04-01 15:39:54
Other Links: manifest | tags
Context
2015-04-01
15:40
Register extension menu entries twice (main menu, and stream context submenu), to avert Gtk warning. check-in: 3bc568c0e4 user: mario tags: trunk
15:39
Add new packaging scheme: `bin` becomes /usr/bin/ stub, while `.zip.py` is used as __main__ handler for PYZ archive. check-in: 233327230c user: mario tags: trunk
11:19
Slimmed down channel PNGs (for eventual later .py meta stuffing). check-in: 2080496017 user: mario tags: trunk
Changes

Added .zip.py version [19302516b3].











>
>
>
>
>
1
2
3
4
5
# pack: .zip.py=__main__.py
#
# All-local paths within pyz package.
import st2
st2.main()

Modified _pack from [59e1f75a46] to [967e318895].

8
9
10
11
12
13
14

15
16
17
18
19
20
21

#-- bundle
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

exit

#dpkg-deb -I streamtuner2*deb
#dpkg-deb -c streamtuner2*deb


cd ..







>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#-- bundle
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


cd ..

Added bin version [ce543eccb8].























>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
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()