diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-28 07:33:50 -0800 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-28 07:33:50 -0800 |
commit | 59393dde1b47e235bc3803815909f944f54fa32f (patch) | |
tree | 563d2637d8b28499adf6cdc29d796806a8268e50 | |
parent | 366ea6b88999fea5c31c178230a657aad6c27ef1 (diff) | |
parent | 5d9c6b207906c4ee084573b256b81a0c26da9b23 (diff) | |
download | cryptography-59393dde1b47e235bc3803815909f944f54fa32f.tar.gz cryptography-59393dde1b47e235bc3803815909f944f54fa32f.tar.bz2 cryptography-59393dde1b47e235bc3803815909f944f54fa32f.zip |
Merge pull request #518 from longaccess/master
document building with custom OpenSSL installation on windows
-rw-r--r-- | docs/index.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst index a1cebc30..b800bcaf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,7 +17,16 @@ You can install ``cryptography`` with ``pip``: .. note:: If you're on Windows you'll need to make sure you have OpenSSL installed. - There are `pre-compiled binaries`_ available. + There are `pre-compiled binaries`_ available. If your installation is in + an unusual location set the ``LIB`` and ``INCLUDE`` environment variables + to include the corresponding locations. For example: + + .. code-block:: console + + C:\> \path\to\vcvarsall.bat x86_amd64 + C:\> set LIB=C:\OpenSSL-1.0.1f-64bit\lib;%LIB% + C:\> set INCLUDE=C:\OpenSSL-1.0.1f-64bit\include;%INCLUDE% + C:\> pip install cryptography Why a new crypto library for Python? |