Originally Posted by BookLoverToo
Sorry, but I'm relatively new to Mac. How would I recompile it? Thanks again.
Remember, Mac == Unix.
EDIT: Source tar ball available at http://www.amk.ca/python/code/crypto.html
Download the source using git:
git clone git://git.pycrypto.org:9419/crypto/pycrypto-2.x.git
(more information on git here: http://git-scm.com/
From the readme:
PyCrypto is written and tested using Python version 2.1 through 2.6,
though support for Python 2.1 will be dropped soon. Python 1.5.2 is
The modules are packaged using the Distutils, so you can simply run
"python setup.py build" to build the package, and "python setup.py
install" to install it.
If the setup.py script crashes with a DistutilsPlatformError
complaining that the file /usr/lib/python2.2/config/Makefile doesn't
exist, this means that the files needed for compiling new Python
modules aren't installed on your system. Red Hat users often run into
this because they don't have the python2-devel RPM installed. The fix
is to simply install the requisite RPM. On Debian/Ubuntu, you need the
To verify that everything is in order, run "python setup.py test". It
will test all the cryptographic modules, skipping ones that aren't
available. If the test script reports an error on your machine,
please report the bug using the bug tracker (URL given above). If
possible, track down the bug and include a patch that fixes it,
provided that you are able to meet the eligibility requirements at
To install the package under the site-packages directory of
your Python installation, run "python setup.py install".
If you have any comments, corrections, or improvements for this
package, please report them to our mailing list, accessible via the
You just need to `python setup.py build` and then `python setup.py install`.