aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-04-08 19:41:26 +0800
committerAyrx <terrycwk1994@gmail.com>2014-04-08 19:41:26 +0800
commit1ced5b818ea0d364180b4fa631b265367f9cf50b (patch)
tree904a984e42496592345619b9c0168202e3d53ba0 /docs
parent8f90c83337a30221c8e538c7a0d8402729c3ef8b (diff)
downloadcryptography-1ced5b818ea0d364180b4fa631b265367f9cf50b.tar.gz
cryptography-1ced5b818ea0d364180b4fa631b265367f9cf50b.tar.bz2
cryptography-1ced5b818ea0d364180b4fa631b265367f9cf50b.zip
Updated instructions to use a common header for each packager
Diffstat (limited to 'docs')
-rw-r--r--docs/installation.rst19
1 files changed, 4 insertions, 15 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index 84d24ca8..ac4c13cd 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -94,31 +94,20 @@ Using your own OpenSSL on OS X
------------------------------
To link cryptography against a custom version of OpenSSL you'll need to set
-``ARCHFLAGS``, ``LDFLAGS``, and ``CFLAGS``. OpenSSL can be installed via `Homebrew`_:
+``ARCHFLAGS``, ``LDFLAGS``, and ``CFLAGS``. OpenSSL can be installed via `Homebrew`_ or `MacPorts`_:
+
+`Homebrew`_
.. code-block:: console
$ brew install openssl
+ $ env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography
or `MacPorts`_:
.. code-block:: console
$ sudo port install openssl
-
-
-Then install cryptography linking against the brewed version:
-
-on `Homebrew`_:
-
-.. code-block:: console
-
- $ env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography
-
-on `MacPorts`_:
-
-.. code-block:: console
-
$ env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/opt/local/lib" CFLAGS="-I/opt/local/include" pip install cryptography
.. _`Homebrew`: http://brew.sh