diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-04 11:03:27 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-04 11:05:55 -0500 |
commit | 451c8df727db86da8a65af9a559889bfa38182be (patch) | |
tree | 7b5c3d3b36a8a727236813ab6f18ee322db0c36d /docs | |
parent | a2571c6e6cc2128b0b5b3c33df9e40f8b1460ee6 (diff) | |
download | cryptography-451c8df727db86da8a65af9a559889bfa38182be.tar.gz cryptography-451c8df727db86da8a65af9a559889bfa38182be.tar.bz2 cryptography-451c8df727db86da8a65af9a559889bfa38182be.zip |
add some documentation around the requirement for xcode cli tools on mac
Diffstat (limited to 'docs')
-rw-r--r-- | docs/installation.rst | 15 | ||||
-rw-r--r-- | docs/spelling_wordlist.txt | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/docs/installation.rst b/docs/installation.rst index 1c25ff78..c47e2d1d 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -125,8 +125,21 @@ You'll also need to generate your own ``openssl.ld`` file. For example:: You should replace the version string on the first line as appropriate for your build. +Building cryptography on OS X +----------------------------- + +To install the Xcode command line tools on OS X open a terminal window and run: + +.. code-block:: console + + $ xcode-select --install + +This will install a compiler (clang) along with the required development +headers. If you wish to compile against a more recent OpenSSL than the +version shipped with OS X see the next section. + 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 diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index 235e08d4..1eed7c7a 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -63,3 +63,4 @@ unpadded unpadding Verisign wildcard +Xcode |