1. Installation¶
dependencies
Alot depends on recent versions of notmuch and urwid. Note that due to restrictions on argparse and subprocess, you need to run `3.0` > python ≥ `2.7` (see faq). A full list of dependencies is below:
- libmagic and python bindings, ≥ 5.04:
- configobj, ≥ 4.6.0:
- twisted, ≥ 10.2.0:
- libnotmuch and it’s python bindings, ≥ 0.12.
- urwid toolkit, ≥ 1.1.0
- PyGPGME ≥ 0.2
On debian/ubuntu these are packaged as:
python-magic python-configobj python-twisted python-notmuch python-urwid python-gpgme
On fedora/redhat these are packaged as:
python-magic python-configobj python-twisted python-notmuch python-urwid pygpgme
Alot uses mailcap to look up mime-handler for inline
rendering and opening of attachments. For a full description of the maicap protocol consider the
manpage mailcap(5) or RFC 1524. To avoid surprises you should at least have an inline
renderer (copiousoutput) set up for text/html, i.e. have something like this in your
~/.mailcap
:
text/html; w3m -dump -o document_charset=%{charset} '%s'; nametemplate=%s.html; copiousoutput
get and install alot
Grab a tarball here or directly check out a more recent version from github.:
git clone git@github.com:pazz/alot.git
Run the setup.py
with the --user
flag to install locally:
python setup.py install --user
and make sure ~/.local/bin
is in your PATH
.
For system-wide installation omit this falg and call with the respective permissions.
generate manual and manpage
To generate the documentation you need sphinx, ≥ 1.07 installed.
Go to docs/
and do a:
make html
make man
to generate the user manual and a man page. Both will end up in their respective subfolders in
docs/build
.