From 7010df99d7096b8a0555752c51a1bd1e587c28dc Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Tue, 28 Jan 2014 03:35:25 -0800 Subject: document how to build w/ custom openssl on windows --- docs/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index a1cebc30..255c9e96 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,7 +17,8 @@ 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 LIB=C:\OpenSSL-x.y.z\lib;%LIB%`` before installing. Why a new crypto library for Python? -- cgit v1.2.3 From 8f369b7cf68ae9018c04fea459d8b34587c3c6ed Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Tue, 28 Jan 2014 03:43:06 -0800 Subject: improve previous note on windows build --- docs/index.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index 255c9e96..48ec0e45 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -18,7 +18,8 @@ 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 LIB=C:\OpenSSL-x.y.z\lib;%LIB%`` before installing. + an unusual location set the ``LIB`` and ``INCLUDE`` environment variables + to include the corresponding locations. Why a new crypto library for Python? -- cgit v1.2.3 From 5d9c6b207906c4ee084573b256b81a0c26da9b23 Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Tue, 28 Jan 2014 16:29:38 +0200 Subject: add example for windows installation --- docs/index.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') 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? -- cgit v1.2.3