blob: 47f137f196c2c31418b7f472f5808fd7f813b31a [file] [log] [blame]
Sybren A. Stüvelaa28c042011-07-30 23:48:00 +02001Installation
2==================================================
3
4Installation can be done in various ways. The simplest form uses pip
5or easy_install. Either one will work::
6
7 pip install rsa
8 easy_install rsa
9
10Depending on your system you may need to use ``sudo pip`` or ``sudo
11easy_install``.
12
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020013Installation from source is also quite easy. Download the source and
14then type::
Sybren A. Stüvelaa28c042011-07-30 23:48:00 +020015
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020016 python setup.py install
17
18or if that doesn't work::
19
20 sudo python setup.py install
21
22
23.. todo::
24
25 Add a source link here
26
27
28Dependencies
29--------------------------------------------------
30
31Python-RSA has very few dependencies. As a matter of fact, to use it
32you only need Python itself. Loading and saving keys does require an
33extra module, though: pyasn1. If you used pip or easy_install like
34described above, you should be ready to go.
35
36Development dependencies
37--------------------------------------------------
38
39In order to start developing on Python-RSA you need a bit more. Use
40pip or easy_install to install the following packages:
41
42 - Mercurial
43 - nose
44 - sphinx
45 - pyasn1
46
47Once these are installed, use Mercurial_ to get a copy of the source::
48
49 hg clone http://hg.stuvel.eu/python-rsa
50 sudo python setup.py develop
51
52
53.. _Mercurial: http://hg-scm.com/