blob: 71fe1ed989a42d935e25dd5fb4bead5b812b7691 [file] [log] [blame]
Julia Hansbroughb65223d2015-04-13 17:30:58 -04001Installation
2============
3
4To install pyOpenSSL::
5
6 $ pip install pyopenssl
7
8If you are installing in order to *develop* on pyOpenSSL, move to the root directory of a pyOpenSSL checkout, and run::
9
10 $ pip install -e .
11
12
Hynek Schlawack930525d2015-06-28 13:34:41 +020013.. warning::
14
15 As of 0.14, pyOpenSSL is a pure-Python project.
16 That means that if you encounter *any* kind of compiler errors, pyOpenSSL's bugtracker is the **wrong** place to report them because we *cannot* help you.
17
18 Please take the time to read the errors and report them/ask help from the appropriate project.
19 The most likely culprit being `cryptography <https://cryptography.io/>`_ that contains OpenSSL's library bindings.
20
21
Hynek Schlawack6d977562016-12-11 15:38:18 +010022Supported OpenSSL Versions
23--------------------------
24
25pyOpenSSL supports the same platforms and releases as the upstream cryptography project `does <https://cryptography.io/en/latest/installation/#supported-platforms>`_.
26Currently that means:
27
28- 1.0.1
29- 1.0.2
30- 1.1.0
31
Hynek Schlawack6d977562016-12-11 15:38:18 +010032If you need support for older releases, the following pinned versions will work:
33
Hynek Schlawackf6c96af2017-04-20 12:34:58 +020034- **OpenSSL 0.9.8**: ``'pyOpenSSL<17.0' 'cryptography<1.4'``
35- **OpenSSL 1.0.0**: ``'pyOpenSSL<17.1' 'cryptography<1.7'``
Hynek Schlawack6d977562016-12-11 15:38:18 +010036
Hynek Schlawackd52975c2017-05-13 17:44:27 +020037You can always find out the versions of pyOpenSSL, cryptography, and the linked OpenSSL by running ``python -m OpenSSL.debug``.
38
Hynek Schlawack6d977562016-12-11 15:38:18 +010039
Julia Hansbroughb65223d2015-04-13 17:30:58 -040040Documentation
Hynek Schlawack8fb864a2015-06-07 19:09:49 +020041-------------
Julia Hansbroughb65223d2015-04-13 17:30:58 -040042
43The documentation is written in reStructuredText and built using Sphinx::
44
45 $ cd doc
46 $ make html