Skip to content

Commit d4ea53b

Browse files
committed
add a small note about clearing the wheel cache
When compiling cryptography yourself if you have a problem and need to recompile but the wheel built successfully you need to know to clear the wheel cache. This is an edge case but worth documenting. Fixes pyca#2006
1 parent 46f4ab0 commit d4ea53b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/installation.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ to include the proper locations. For example:
5858
C:\> set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE%
5959
C:\> pip install cryptography
6060
61+
If you need to rebuild ``cryptography`` for any reason be sure to clear the
62+
local `wheel cache`_.
6163

6264
.. _build-on-linux:
6365

@@ -227,6 +229,9 @@ You can also build cryptography statically:
227229
$ sudo port install openssl
228230
$ env CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 LDFLAGS="/opt/local/lib/libssl.a /opt/local/lib/libcrypto.a" CFLAGS="-I/opt/local/include" pip install cryptography
229231
232+
If you need to rebuild ``cryptography`` for any reason be sure to clear the
233+
local `wheel cache`_.
234+
230235
Building cryptography with conda
231236
--------------------------------
232237

@@ -257,3 +262,4 @@ information, consult `Greg Wilson's blog post`_ on the subject.
257262
.. _`Greg Wilson's blog post`: http://software-carpentry.org/blog/2014/04/mr-biczo-was-right.html
258263
.. _virtualenv: https://virtualenv.pypa.io/en/latest/
259264
.. _openssl.org: https://openssl.org/source/
265+
.. _`wheel cache`: https://pip.pypa.io/en/stable/reference/pip_install/#caching

0 commit comments

Comments
 (0)