Skip to content

Instantly share code, notes, and snippets.

@mwpcheung
Forked from andrisasuke/install_m2crypto.txt
Created July 6, 2018 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwpcheung/952965f12db2bc1efac1090eb7a52fda to your computer and use it in GitHub Desktop.
Save mwpcheung/952965f12db2bc1efac1090eb7a52fda to your computer and use it in GitHub Desktop.
python install m2crypto on Mac OS X
$> brew install openssl
$> brew install swig
$> env LDFLAGS="-L$(brew --prefix openssl)/lib" \
CFLAGS="-I$(brew --prefix openssl)/include" \
SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \
pip install m2crypto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment