Installation¶
- Installation
- Linux distributions
- Debian
- Maemo
- Mandriva
- Gentoo
- From sources
- Release tarballs
- Git
- Installation instructions
Linux distributions¶
Debian¶
Add the following line in /etc/apt/sources.list:
deb http://debian.weboob.org unstable main
Then, update the repositories and install the keyring:
# aptitude update # aptitude install debian-symlink-keyring # aptitude update
You can now install applications, for example:
# aptitude install videoob
The list of available packages is here: http://debian.weboob.org
Maemo¶
Same thing than Debian, but use the maemo dist instead of unstable:
deb http://debian.weboob.org maemo main
Mandriva¶
Instructions in French: http://wiki.mandriva.com/fr/Weboob
Gentoo¶
An ebuild is available in the laurentb overlay
From sources¶
Release tarballs¶
Get the latest tarball on the Files page
Git¶
Stable branch
The stable branch is the latest release of weboob with additional fixes.
$ git clone git://git.symlink.me/pub/romain/weboob-stable.git
Development branch
To get the latest features or to contribute to Weboob.
$ git clone git://git.symlink.me/pub/romain/weboob.git
Installation instructions¶
Like any Python package using setuptools, Weboob can be installed in install mode or in development mode.
Install mode
The install mode copies files to the Python system-wide packages directory (for example /usr/lib/python2.5/site-packages for Python 2.5, or /usr/local/lib/python2.6/dist-packages for Python 2.6)
# ./setup.py install
Scripts are copied to /usr/bin.
Since there are many dependencies, when you install from sources, you have to handle them by hand, according to your distribution. If you still want to download them, you can uncomment the dependencies in setup.py
To uninstall, remove the egg-info from the Python system-wide packages directory and remove the weboob_dev line in easy-install.pth.
Development mode
The development mode doesn't copy files, but creates an egg-link in the Python system-wide packages directory which points to the development directory. It is useful for development when files often change.
# ./setup.py develop
It is possible to install in a specific directory, and it does not need root privileges. For instance:
$ mkdir ~/mydir $ PYTHONPATH=~/mydir ./setup.py develop --install-dir ~/mydir
Scripts are copied to /usr/bin too.
To uninstall, remove the egg-link from the Python system-wide packages directory and remove the “weboob_dev” line in easy-install.pth.