Created
December 26, 2015 20:58
-
-
Save binkybear/872b9dda631d10bcbb23 to your computer and use it in GitHub Desktop.
M2Crypto on El Capitan (in virtualenv)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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