You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Activate the installed interpreters (execute in this directory):
199
-
200
-
```shell
201
-
$ pyenv local 2.6.9 2.7.12 3.3.6 3.4.5 3.5.2 3.6.0b3
202
-
```
203
-
204
-
Run the tests:
205
-
206
-
```shell
207
-
$ tox
208
-
```
209
-
210
-
#### Tox Common Issues ####
211
-
212
-
Supporting multiple Python versions with dependencies, often requiring compilation, is not without issues.
213
-
214
-
For Python versions that do not provide binary wheels for `cryptography`, it will have to be compiled. This will be done automatically, however, you may need to install development headers of `openssl`.
215
-
216
-
##### On Debian-based Systems #####
217
-
218
-
Install `openssl` headers with `apt-get install openssl-dev`
219
-
220
-
##### On macOS #####
221
-
222
-
Install `openssl` headers using [homebrew](http://brew.sh/): `brew install openssl`
223
-
224
-
Install Xcode command line tools so we have access to a C compiler and common libs:
225
-
226
-
```shell
227
-
$ xcode-select --install
228
-
```
229
-
230
-
See [building cryptography on OS X](https://cryptography.io/en/latest/installation/#building-cryptography-on-os-x)
231
-
232
-
233
-
For Python 2.6 and 2.7 you *might* have to install them via `pyenv` with specific unicode code point settings:
To avoid `cffi` errors related to unicode see: [cffi ucs2 vs ucs4](http://cffi.readthedocs.io/en/latest/installation.html#linux-and-os-x-ucs2-versus-ucs4)
Activate the installed interpreters (execute in this directory):
26
+
27
+
```shell
28
+
$ pyenv local 2.6.9 2.7.12 3.3.6 3.4.5 3.5.2 3.6.3
29
+
```
30
+
31
+
Run the tests:
32
+
33
+
```shell
34
+
$ tox
35
+
```
36
+
37
+
### Tox Common Issues ###
38
+
39
+
Supporting multiple Python versions with dependencies, often requiring compilation, is not without issues.
40
+
41
+
For Python versions that do not provide binary wheels for `cryptography`, it will have to be compiled. This will be done automatically, however, you may need to install development headers of `openssl`.
42
+
43
+
#### On Debian-based Systems ####
44
+
45
+
Install `openssl` headers with:
46
+
```shell
47
+
apt-get install openssl-dev
48
+
```
49
+
50
+
See [Building Cryptography on Linux](https://cryptography.io/en/latest/installation/#building-cryptography-on-linux) for more information.
51
+
52
+
#### On Windows #####
53
+
54
+
- 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
55
+
- Set the `LIB` and `INCLUDE` environment variables to include your OpenSSL installation location e.g.
For more information see the [building for windows](https://cryptography.io/en/latest/installation/#building-cryptography-on-windows) section on the Cryptography website.
63
+
64
+
#### On macOS ####
65
+
66
+
Install `openssl` headers using [homebrew](http://brew.sh/): `brew install openssl`
67
+
68
+
Install Xcode command line tools so we have access to a C compiler and common libs:
69
+
70
+
```shell
71
+
$ xcode-select --install
72
+
```
73
+
74
+
See [building cryptography on OS X](https://cryptography.io/en/latest/installation/#building-cryptography-on-os-x)
75
+
76
+
77
+
For Python 2.6 and 2.7 you *might* have to install them via `pyenv` with specific unicode code point settings:
To avoid `cffi` errors related to unicode see: [cffi ucs2 vs ucs4](http://cffi.readthedocs.io/en/latest/installation.html#linux-and-os-x-ucs2-versus-ucs4)
0 commit comments