Skip to content

Commit 6e08095

Browse files
committed
[SDK-175]: Added instructions for installing OpenSSL binaries on Windows
1 parent 6b02916 commit 6e08095

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,24 @@ For Python versions that do not provide binary wheels for `cryptography`, it wil
217217

218218
##### On Debian-based Systems #####
219219

220-
Install `openssl` headers with `apt-get install openssl-dev`
220+
Install `openssl` headers with:
221+
```shell
222+
apt-get install openssl-dev
223+
```
224+
225+
See [Building Cryptography on Linux](https://cryptography.io/en/latest/installation/#building-cryptography-on-linux) for more information.
226+
227+
##### On Windows ######
228+
229+
- Download and compile the OpenSSL binaries for your architecture from the [OpenSSL release](https://ci.cryptography.io/job/cryptography-support-jobs/job/openssl-release-1.1/) website
230+
- Set the `LIB` and `INCLUDE` environment variables to include your OpenSSL installation location e.g.
231+
```shell
232+
C:\> \path\to\vcvarsall.bat x86_amd64
233+
C:\> set LIB=C:\OpenSSL-win64\lib;%LIB%
234+
C:\> set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE%
235+
C:\> pip install cryptography
236+
```
237+
For more information see the [building for windows](https://cryptography.io/en/latest/installation/#building-cryptography-on-windows) section on the Cryptography website.
221238

222239
##### On macOS #####
223240

0 commit comments

Comments
 (0)