1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
-
+
+
-
-
+
+
+
+
-
+
+
+
+
-
+
-
-
+
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
Streamtuner2 used to run under Windows. Current versions should still, but aren't tested anymore.
Streamtuner2 also runs under Windows. Current versions weren't tested thoroughly.
# 0install
* Simplest option to install it is per **0install** feed:
[http://fossil.include-once.org/streamtuner2/doc/trunk/dev/0-st2.xml](http://fossil.include-once.org/streamtuner2/doc/trunk/dev/0-st2.xml)
Simplest option to run it is per **0install** feed however:
* [http://fossil.include-once.org/streamtuner2/doc/trunk/dev/0-st2.xml](http://fossil.include-once.org/streamtuner2/doc/trunk/dev/0-st2.xml)
(Ought to work for Windows, MacOS, and BSD/Linux systems.)
Ought to work for Windows, MacOS, and BSD/Linux systems.
# Exe "installer"
Else it requires a working Python installation first. That includes Python with Gtk bindings, the requests and pyquery packages.
ST2 requires a working Python installation first. That includes Python with Gtk bindings, the requests and pyquery packages.
* The available **.exe** installer is really just a self-extracting ZIP. It'll unpack to Unix-style paths `C:/usr/bin/` and `C:/usr/share/streamtuner2`.
(The exe is actually more suitable now as raw zip/tarball, that just happens to have a wine GUI.)
The available **.exe** installer is really just a self-extracting ZIP. It'll unpack to Unix-style paths `C:/usr/bin/` and `C:/usr/share/streamtuner2`.
* (The exe is actually more suitable now as raw zip/tarball, that just happens to have a wine GUI.)
# PYZ package
* With the new **.pyz** package it's even easier to use however. So that's now the recommended approach. Simply start it with:
With the new **.pyz** package it's even easier to use ST2 however. So that's now the recommended approach. Simply start it with:
python streamtuner2.pyz
Or rename it to have a **.pyzw** extension, in case your setup already picks that up.
Or rename it to have a **.pyzw** extension, in case your setup already picks that up.
* In either case, you'll have to create a desktop shortcut yourself.
(Again, you need a working Python+Gtk setup first.)
Streamtuner2 is primarily developed for BSD/Linux platforms. It's platform-agnostic through Python. On Windows there are enough alternatives already (more bling, mostly just limited in station sources), thus no significant userbase. Which is why this isn't considered a target.
----
There are probably modern Python distributions for Windows. No idea. It's definitely not something that should be handled on a per-application basis and with PyInstaller embellishments.
# Manual installation of Python 2.7
[Oliver found](https://sourceforge.net/p/streamtuner2/discussion/1173108/thread/2a060ed4/?limit=25) a dependable recommendation for using Python 2 in this discussion about PyGtk and PyGObject:
http://stackoverflow.com/questions/12981137/gi-repository-windows
It may be outdated, since it's from the year 2012.
So I built my environment for Windows 7 with the following components: (not sure if it would also run on Windows XP, I remember having read some restrictions about XP). I will also test it on Windows 10 later...
Install python-2.7.12.msi from https://www.python.org/downloads/windows/ (should be 32-Bit according to README in http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/)
Install pygtk-all-in-one-2.24.2.win32-py2.7.msi from http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/
Install requests via "easy_install.exe requests" from the Python scripts path
Install lxml-2.3.win32-py2.7.exe from https://pypi.python.org/pypi/lxml/2.3
Install pyquery-1.2.17-py2.py3-none-any.whl from https://pypi.python.org/pypi/pyquery/1.2.17 via "pip install [Path]pyquery-1.2.17-py2.py3-none-any.whl"
Install PIL-1.1.7.win32-py2.7.exe from http://www.pythonware.com/products/pil/
# Manual installation of Python 3.4
Python 3.4 and the newer PyGI (Gtk3) might also work meanwhile.
|