The RestAuth project provides APT repositories for all software it maintains. Repositories are available for all distributions that are currently maintained by the Debian project and Canonical respectively except Debian 5.0 (“lenny”) and Ubuntu 8.04 (Hardy Heron).
To add the repositories, simply add this line to your /etc/apt/sources.list file:
deb http://apt.fsinf.at <dist> restauth
... where <dist> is any of the supported distributions (currently lucid, maverick, natty, squeeze or wheezy).
Once you added the repository, you have to install the fsinf GPG keyring used for signing the repositories, so you won’t get any warnings when updating. You can either install the fsinf-keyring package using:
apt-get update
apt-get install fsinf-keyring
apt-get update
or download and add the key directly using:
wget -O - http://packages.spectrum.im/keys/apt-repository@fsinf.at | apt-key add -
Once you have added the repositories, installing RestAuthClient is as simple as
apt-get install python-restauth