build-support/travis/env_osx_with_pyenv.mustache (5 lines of code) (raw):

{{! These flags are necessary to get OpenSSL working. See https://github.com/pyenv/pyenv/wiki/Common-build-problems#error-the-python-ssl-extension-was-not-compiled-missing-the-openssl-lib. }} PATH="/usr/local/opt/openssl/bin:${PATH}" LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include"