aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-05-02 14:35:27 -0700
committerDavid Reid <dreid@dreid.org>2014-05-02 14:35:27 -0700
commit06e5bde2815520d16b185578036980f91d9bc2b4 (patch)
tree905d7ff303104f360173c9b9928d786aa9314588
parent421e30d557c0b215d9a5a815af64326ccba4bfda (diff)
parentd694838adae5bb0f19d0b6731cfffc434d4358cf (diff)
downloadcryptography-06e5bde2815520d16b185578036980f91d9bc2b4.tar.gz
cryptography-06e5bde2815520d16b185578036980f91d9bc2b4.tar.bz2
cryptography-06e5bde2815520d16b185578036980f91d9bc2b4.zip
Merge pull request #1001 from alex/conda-docs
Fixed #1000 -- document the conda issue and workaround
-rw-r--r--docs/installation.rst18
-rw-r--r--docs/spelling_wordlist.txt1
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index 3ebbecfd..865e4cb6 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -73,6 +73,7 @@ You should now be able to build and install cryptography with the usual
$ pip install cryptography
+
Using your own OpenSSL on Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -122,6 +123,23 @@ or `MacPorts`_:
$ sudo port install openssl
$ env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/opt/local/lib" CFLAGS="-I/opt/local/include" pip install cryptography
+Building cryptography with conda
+--------------------------------
+
+Because of a `bug in conda`_, attempting to install cryptography out of the box
+will result in an error. This can be resolved by setting the
+``DYLD_LIBRARY_PATH`` environment variable:
+
+.. code-block:: console
+
+ $ env DYLD_LIBRARY_PATH="$HOME/anaconda/lib" pip install cryptography
+
+You will need to set this variable every time you start Python. For more
+information, consult `Greg Wilson's blog post`_ on the subject.
+
+
.. _`Homebrew`: http://brew.sh
.. _`MacPorts`: http://www.macports.org
.. _`pre-compiled binaries`: https://www.openssl.org/related/binaries.html
+.. _`bug in conda`: https://github.com/conda/conda-recipes/issues/110
+.. _`Greg Wilson's blog post`: http://software-carpentry.org/blog/2014/04/mr-biczo-was-right.html
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
index aae52ae7..b5896158 100644
--- a/docs/spelling_wordlist.txt
+++ b/docs/spelling_wordlist.txt
@@ -8,6 +8,7 @@ Changelog
ciphertext
committer
committers
+conda
crypto
cryptographic
cryptographically