Check-in [3c5ead99ef]
Overview
Comment: | create bundle/ subdirectory for included python libs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | py3 |
Files: | files | file ages | folders |
SHA1: |
3c5ead99ef57d31903b31b0efa3452c3 |
User & Date: | mario on 2014-04-27 19:23:19 |
Other Links: | branch diff | manifest | tags |
Context
2014-04-27
| ||
21:46 | Include `requests`, which is now used in ahttp in favour of urllib2 Leaf check-in: 9e0065d508 user: mario tags: py3 | |
19:23 | create bundle/ subdirectory for included python libs check-in: 3c5ead99ef user: mario tags: py3 | |
2014-04-18
| ||
00:06 | Some typos fixed in the docs. check-in: edf5668ef9 user: mario tags: py3 | |
Changes
Modified _package.epm from [118b640e5b] to [b1b09d1674].
︙ | |||
37 38 39 40 41 42 43 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - + | #f 644 root root /usr/share/streamtuner2/processing.py ./processing.py f 644 root root /usr/share/streamtuner2/action.py ./action.py f 644 root root /usr/share/streamtuner2/config.py ./config.py f 644 root root /usr/share/streamtuner2/ahttp.py ./ahttp.py f 644 root root /usr/share/streamtuner2/cli.py ./cli.py f 644 root root /usr/share/streamtuner2/mygtk.py ./mygtk.py f 644 root root /usr/share/streamtuner2/favicon.py ./favicon.py |
︙ |
Name change from kronos.py to bundle/kronos.py.
︙ |
Modified st2.py from [767c1a69b3] to [1db7abd798].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | #!/usr/bin/env python # encoding: UTF-8 # api: python # type: application # title: streamtuner2 # description: directory browser for internet radio / audio streams |
︙ | |||
74 75 76 77 78 79 80 81 82 83 84 85 86 87 | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | + | from processing import Process as Thread except: from threading import Thread Thread.stop = lambda self: None # add library path sys.path.insert(0, "/usr/share/streamtuner2") # pre-defined directory for modules sys.path.insert(0, "/usr/share/streamtuner2/bundle") # external libraries sys.path.insert(0, ".") # development module path # gtk modules from mygtk import pygtk, gtk, gobject, ui_file, mygtk, ver as GTK_VER # custom modules from config import conf # initializes itself, so all conf.vars are available right away |
︙ |