This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yan12125
Recipients doerwalter, yan12125
Date 2016-12-29.11:42:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483011726.26.0.326346518503.issue29095@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, things are quite the opposite :)

You have to set CFLAGS and LDFLAGS so that setup.py can find openssl headers and libraries from Homebrew. For example:

export CFLAGS="-I/usr/local/opt/openssl/include"
export LDFLAGS="-L/usr/local/opt/openssl/lib"

The reason for that is that Apple once shipped their forked OpenSSL in older Mac OS X versions, so Homebrew can't install OpenSSL headers and libraries to public paths (/usr/local/include & /usr/local/lib). On the other hand, CPython should not use paths in /usr/local/opt/ as it's internal details of Homebrew.
History
Date User Action Args
2016-12-29 11:42:06yan12125setrecipients: + yan12125, doerwalter
2016-12-29 11:42:06yan12125setmessageid: <1483011726.26.0.326346518503.issue29095@psf.upfronthosting.co.za>
2016-12-29 11:42:06yan12125linkissue29095 messages
2016-12-29 11:42:05yan12125create