I'm trying to zip apple wallet passes on my server using python. Apple provides us with server-side implementation in Ruby, but I have a server running Django.
Every python-implemented library for this purposes I found uses something called M2Crypto for SSL key decryption/encryption. (I've decided to use this implementation)
Because pass-signing library depends on m2Crypto I first tried installing M2Crypto on a Mac to test pass signing locally.
Installation with pip
gave nothing but errors.
pip install M2Crypto
After a lot of swearing I found a solution how to install M2Crypto here. The thing is although bash tells me that brew installed M2Crypto my python code still doesn't see this damned M2Crypto library so I can't even begin testing pass zipper locally!
Why doesn't my python code see this library and is there a universal way to install it?
I'm packaging my project to docker image and I need to know how to install it as dependency on docker image.