@@ -264,9 +264,7 @@ development headers.
264
264
265
265
You will also need to have :ref: `Rust installed and
266
266
available<installation:Rust>`, which can be obtained from `Homebrew `_,
267
- `MacPorts `_, or directly from the Rust website. If you are linking against a
268
- ``universal2 `` archive of OpenSSL, the minimum supported Rust version is
269
- 1.66.0.
267
+ `MacPorts `_, or directly from the Rust website.
270
268
271
269
Finally you need OpenSSL, which you can obtain from `Homebrew `_ or `MacPorts `_.
272
270
Cryptography does **not ** support the OpenSSL/LibreSSL libraries Apple ships
@@ -279,14 +277,14 @@ To build cryptography and dynamically link it:
279
277
.. code-block :: console
280
278
281
279
$ brew install openssl@3 rust
282
- $ env OPENSSL_DIR="$(brew --prefix openssl@3)" pip install cryptography
280
+ $ pip install --no-binary cryptography cryptography
283
281
284
282
`MacPorts `_:
285
283
286
284
.. code-block :: console
287
285
288
286
$ sudo port install openssl rust
289
- $ env OPENSSL_DIR="-L/opt/local" pip install cryptography
287
+ $ env OPENSSL_DIR="-L/opt/local" pip install --no-binary cryptography cryptography
290
288
291
289
You can also build cryptography statically:
292
290
@@ -295,14 +293,14 @@ You can also build cryptography statically:
295
293
.. code-block :: console
296
294
297
295
$ brew install openssl@3 rust
298
- $ env OPENSSL_STATIC=1 OPENSSL_DIR="$(brew --prefix openssl@3)" pip install cryptography
296
+ $ env OPENSSL_STATIC=1 pip install --no-binary cryptography cryptography
299
297
300
298
`MacPorts `_:
301
299
302
300
.. code-block :: console
303
301
304
302
$ sudo port install openssl rust
305
- $ env OPENSSL_STATIC=1 OPENSSL_DIR="/opt/local" pip install cryptography
303
+ $ env OPENSSL_STATIC=1 OPENSSL_DIR="/opt/local" pip install --no-binary cryptography cryptography
306
304
307
305
If you need to rebuild ``cryptography `` for any reason be sure to clear the
308
306
local `wheel cache `_.
0 commit comments