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):
201
-
202
-
```shell
203
-
$ pyenv local 2.6.9 2.7.12 3.3.6 3.4.5 3.5.2 3.6.0b3
204
-
```
205
-
206
-
Run the tests:
207
-
208
-
```shell
209
-
$ tox
210
-
```
211
-
212
-
#### Tox Common Issues ####
213
-
214
-
Supporting multiple Python versions with dependencies, often requiring compilation, is not without issues.
215
-
216
-
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`.
217
-
218
-
##### On Debian-based Systems #####
219
-
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.
For more information see the [building for windows](https://cryptography.io/en/latest/installation/#building-cryptography-on-windows) section on the Cryptography website.
238
-
239
-
##### On macOS #####
240
-
241
-
Install `openssl` headers using [homebrew](http://brew.sh/): `brew install openssl`
242
-
243
-
Install Xcode command line tools so we have access to a C compiler and common libs:
244
-
245
-
```shell
246
-
$ xcode-select --install
247
-
```
248
-
249
-
See [building cryptography on OS X](https://cryptography.io/en/latest/installation/#building-cryptography-on-os-x)
250
-
251
-
252
-
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