diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-31 19:48:32 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-31 19:50:34 -0600 |
commit | d4ea53b615d777cc0b95edbf1a90524c0b16f7e4 (patch) | |
tree | 556c26d64e861b0fc882556e8e30bf6ef6eaa7c4 /docs | |
parent | 46f4ab064a4cfcaf330e9cb5a037ed44d9a36818 (diff) | |
download | cryptography-d4ea53b615d777cc0b95edbf1a90524c0b16f7e4.tar.gz cryptography-d4ea53b615d777cc0b95edbf1a90524c0b16f7e4.tar.bz2 cryptography-d4ea53b615d777cc0b95edbf1a90524c0b16f7e4.zip |
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 #2006
Diffstat (limited to 'docs')
-rw-r--r-- | docs/installation.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/installation.rst b/docs/installation.rst index 16c42d2d..ee0384c9 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -58,6 +58,8 @@ to include the proper locations. For example: C:\> set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE% C:\> pip install cryptography +If you need to rebuild ``cryptography`` for any reason be sure to clear the +local `wheel cache`_. .. _build-on-linux: @@ -227,6 +229,9 @@ You can also build cryptography statically: $ sudo port install openssl $ 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 +If you need to rebuild ``cryptography`` for any reason be sure to clear the +local `wheel cache`_. + Building cryptography with conda -------------------------------- @@ -257,3 +262,4 @@ information, consult `Greg Wilson's blog post`_ on the subject. .. _`Greg Wilson's blog post`: http://software-carpentry.org/blog/2014/04/mr-biczo-was-right.html .. _virtualenv: https://virtualenv.pypa.io/en/latest/ .. _openssl.org: https://openssl.org/source/ +.. _`wheel cache`: https://pip.pypa.io/en/stable/reference/pip_install/#caching |