app : /Applications/gPodder.app/Contents/MacOSX/_launcherĪdd and edit the following lines to alter the launch environment on OS X : export GPODDER_HOME="$HOME/Library/Application Support/gPodder"Įxport GPODDER_DOWNLOAD_DIR="$HOME/Library/Application Support/gPodder/download" These settings may be modified by editing the following file of the. default GPODDER_DOWNLOAD_DIR="$HOME/Library/Application Support/gPodder/download".default GPODDER_HOME="$HOME/Library/Application Support/gPodder".This can be used for multiple configurations or to store the download directory directly on a MP3 player or USB disk: export GPODDER_HOME=/media/usbdisk/gpodder-data/ The run-time environment variable GPODDER_HOME is used to set the location for storing the database and downloaded files. In fact, first try running python -c "import sys print(sys.path)" to check what is the exact path. The "make install" target also supports DESTDIR and PREFIX for installing into an alternative root (default /) and prefix (default /usr): make install DESTDIR=tmp/ PREFIX=/usr/local/ĭebian and Ubuntu use dist-packages instead of site-packages for third party installs, so you'll want something like: sudo python3 setup.py install -root / -prefix /usr/local -optimize=1 -install-lib=/usr/local/lib/python3.5/dist-packages See setup.py for a list of recognized UIs.Įxample: Install the CLI and Gtk UI with German and Dutch translations: export LINGUAS="de nl" GPODDER_MANPATH_NO_SHARE if set, install manpages to $PREFIX/man/man1 GPODDER_INSTALL_UIS space-separated list of UIs to install The following environment variables are processed by setup.py: LINGUAS space-separated list of languages to install By default, this will install all UIs and all translations. To install gPodder system-wide, use make install. For unit tests, coverage reporting happens for the tested module (that's why the test module name should mirror the module to be tested). If you want to add unit tests for a specific module (ex: gpodder.model), you should add the tests as, or in other words: The file: src/gpodder/model.pyĪfter you've added the test, make sure that the module appears in "test_modules" in src/gpodder/unittests.py - for the example above, the unittests in src/gpodder/test/model.py are added as 'model'. If you add tests to any module in src/gpodder you have nothing to do. If you want to add doctests, simply write the doctest and make sure that the module appears after -doctest-modules in pytest.ini. Tests in gPodder are written in two different ways: To set a specific python binary set PYTHON: PYTHON=python3 make unittest Better Youtube support (> 15 entries in feeds, download audio-only): youtube_dl.HTML show notes: WebKit2 gobject bindings (webkit2gtk, webkitgtk4 or gir1.2-webkit2-4.0 packages).Clickable links in GTK UI show notes: html5lib.MP3 Player Sync Support: python-eyed3 (0.7 or newer).Native OS X support: ige-mac-integration.Bluetooth file sending: gnome-obex-send or bluetooth-sendto.With this, you get a self-contained gPodder CLI codebase. DependenciesĪs an alternative to python-dbus on Mac OS X and Windows, you can use the dummy (no-op) D-Bus module provided in "tools/fake-dbus-module/".įor quick testing, you can use the script tools/localdepends.py to install local copies of podcastparser and mygpoclient into "src/" from PyPI. You should have received a copy of the GNU General Public License along with this program. See the GNU General Public License for more details. GPodder is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. GPodder is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 3 of the License, or (at your option) any later version. Copyright 2005-2018 The gPodder Team License
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |