Django-paypal and M2Crypto on webfaction

by camilian on September 29, 2009

If you are using django-paypal on Webfaction and want to encrypt the post form, you are going to run into an issue building M2Crypto since their servers OpenSSL has been built without EC support.  You can get around this by using the following commands to install M2Crypto:

cat >> ~/.pydistutils.cfg << EOF
[build_ext]
include_dirs=/usr/include/openssl
EOF
easy_install-2.5 --install-dir=$HOME/lib/python2.5 --script-dir=$HOME/bin m2crypto

Previous post:

Next post: