Make gPodder more library-like; remove --local
commitb1ec8f62e938f9f157feb51372272e3e7a97e7bc
authorThomas Perl <thp@thpinfo.com>
Thu, 7 May 2009 14:26:07 +0000 (7 16:26 +0200)
committerThomas Perl <thp@thpinfo.com>
Thu, 7 May 2009 14:26:07 +0000 (7 16:26 +0200)
tree6f822e481ad22aa4e4d090330c7da5f9fcb5bead
parent7d614772151bc479c00d61947b5f5cd096a7192b
Make gPodder more library-like; remove --local

Do not install gettext globally, but have a gettext
function in the gpodder module and import it from all
dependent modules.

Remove the --local command line option and instead
automatically detect if the gpodder script is called
from a source folder (determined by the existence of
"src" and "data" in the parent folder and by the fact
that prefix does not start with '/usr').

Clean up setup.py and use metadata from the module.
20 files changed:
Makefile
bin/gpodder
doc/dev/install-desktopentry.sh
setup.py
src/gpodder/__init__.py
src/gpodder/cache.py
src/gpodder/config.py
src/gpodder/console.py
src/gpodder/dbsqlite.py
src/gpodder/download.py
src/gpodder/gui.py
src/gpodder/libgpodder.py
src/gpodder/libplayers.py
src/gpodder/libpodcasts.py
src/gpodder/my.py
src/gpodder/services.py
src/gpodder/sync.py
src/gpodder/trayicon.py
src/gpodder/unittests.py
src/gpodder/util.py