aboutsummaryrefslogtreecommitdiffstats
path: root/docs/installation.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-30 12:14:01 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-30 12:16:59 -0600
commit156360af3d10fa4ecfb1ada6718f3ae57db5e62b (patch)
tree9aba497e0a3d2c9c5255563cfdad1f90cb361c76 /docs/installation.rst
parentd1eaebde366a8131c58d35946c37a739e0d5b79f (diff)
downloadcryptography-156360af3d10fa4ecfb1ada6718f3ae57db5e62b.tar.gz
cryptography-156360af3d10fa4ecfb1ada6718f3ae57db5e62b.tar.bz2
cryptography-156360af3d10fa4ecfb1ada6718f3ae57db5e62b.zip
switch to static linking on windows and update installation page
Diffstat (limited to 'docs/installation.rst')
-rw-r--r--docs/installation.rst19
1 files changed, 13 insertions, 6 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index 8fbbcb30..56d21e72 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -35,16 +35,23 @@ OpenSSL releases:
On Windows
----------
-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. For example:
+The wheel package on Windows is a statically linked build (as of 0.5) so all
+dependencies are included. Just run
+
+.. code-block:: console
+
+ $ pip install cryptography
+
+If you prefer to compile it yourself you'll need to 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. For example:
.. code-block:: console
C:\> \path\to\vcvarsall.bat x86_amd64
- C:\> set LIB=C:\OpenSSL-1.0.1g-64bit\lib;%LIB%
- C:\> set INCLUDE=C:\OpenSSL-1.0.1g-64bit\include;%INCLUDE%
+ C:\> set LIB=C:\OpenSSL-1.0.1h-64bit\lib\VC\static;%LIB%
+ C:\> set INCLUDE=C:\OpenSSL-1.0.1h-64bit\include;%INCLUDE%
C:\> pip install cryptography
Building cryptography on Linux