Skip to content

Instantly share code, notes, and snippets.

@binkybear
Created December 26, 2015 20:58
Show Gist options
  • Save binkybear/872b9dda631d10bcbb23 to your computer and use it in GitHub Desktop.
Save binkybear/872b9dda631d10bcbb23 to your computer and use it in GitHub Desktop.
M2Crypto on El Capitan (in virtualenv)
brew install openssl
brew install swig
# In this case I was using kivy interpreter
cd /Applications/Kivy.app/Contents/Resources
env LDFLAGS="-L$(brew --prefix openssl)/lib" \
CFLAGS="-I$(brew --prefix openssl)/include" \
SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" \
./python venv/bin/pip install m2crypto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment