Mailthon does not have any external dependencies apart from the Python standard library. Mailthon is however, only tested against Python 2.6 or newer, so make sure you have an up-to-date Python installation. Mailthon also supports Python 3.

Installing a stable version

Usually you want to install the latest stable version. Pulling the package from PIP is what you want. I recommend using a virtualenv but that is not required to install Mailthon:

$ pip install Mailthon

Before you do that however you should check if you have PIP installed, which is a package manager for python. If you don’t, just download the script and run it.

Living on the edge

If you want to work on Mailthon or download the latest version, it is recommended that clone from the git repository, because you can always check out the latest version of the codebase and keep your local copy in sync with the latest goodies (Virtualenv is recommended):

$ git clone
$ cd mailthon
$ virtualenv venv
New python executable in venv/bin/python
Installing setuptools, pip..............done.
$ . venv/bin/activate
$ python develop

This will pull in the latest codebase and activate the git head as the current version inside the virtualenv. All you have to do is run git pull origin to update to the latest version.