Table Of Contents

Previous topic

1. Introduction & history

Next topic

3. Upgrading from older versions

This Page

2. Installation

Installation can be done in various ways. The simplest form uses pip or easy_install. Either one will work:

pip install rsa
easy_install rsa

Depending on your system you may need to use sudo pip or sudo easy_install.

Installation from source is also quite easy. Download the source and then type:

python setup.py install

or if that doesn’t work:

sudo python setup.py install

The sources are tracked in our Mercurial repository at bitbucket.org. It also hosts the issue tracker.

2.1. Dependencies

Python-RSA has very few dependencies. As a matter of fact, to use it you only need Python itself. Loading and saving keys does require an extra module, though: pyasn1. If you used pip or easy_install like described above, you should be ready to go.

2.2. Development dependencies

In order to start developing on Python-RSA you need a bit more. Use pip or easy_install to install the following packages:

  • Mercurial
  • nose
  • sphinx
  • pyasn1

Once these are installed, use Mercurial to get a copy of the source:

hg clone https://sybren@bitbucket.org/sybren/python-rsa
sudo python setup.py develop