aboutsummaryrefslogtreecommitdiffstats
path: root/docs/index.rst
diff options
context:
space:
mode:
authorKonstantinos Koukopoulos <koukopoulos@gmail.com>2014-01-28 16:29:38 +0200
committerKonstantinos Koukopoulos <koukopoulos@gmail.com>2014-01-28 16:29:38 +0200
commit5d9c6b207906c4ee084573b256b81a0c26da9b23 (patch)
tree563d2637d8b28499adf6cdc29d796806a8268e50 /docs/index.rst
parent8f369b7cf68ae9018c04fea459d8b34587c3c6ed (diff)
downloadcryptography-5d9c6b207906c4ee084573b256b81a0c26da9b23.tar.gz
cryptography-5d9c6b207906c4ee084573b256b81a0c26da9b23.tar.bz2
cryptography-5d9c6b207906c4ee084573b256b81a0c26da9b23.zip
add example for windows installation
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 48ec0e45..b800bcaf 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -19,7 +19,14 @@ You can install ``cryptography`` with ``pip``:
If you're on Windows you'll need to make sure you have OpenSSL installed.
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.
+ 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?