[pycrypto] Once again: Python3 with PyCrypto

Dwayne C. Litzenberger dlitz at dlitz.net
Thu Dec 23 20:08:31 CST 2010

On Thu, Dec 23, 2010 at 08:04:23PM -0500, Thorsten Behrens wrote:
>Or if you can suggest a Linux distribution that has a working 2.1 
>tool-chain, I could run that in a VM and test from there.

Any modern Linux distro will do.  I typically just build the older (and 
newer) Python distributions from source, like this:

~$ mkdir -p ~/python2.1/src
~$ cd ~/python2.1/src
~/python2.1/src$ tar xzf ~/Downloads/Python-2.1.3.tgz
~/python2.1/src$ mkdir build
~/python2.1/src/build$ cd build
~/python2.1/src/build$ ../Python-2.1.3/configure --prefix=$HOME/python2.1
~/python2.1/src/build$ make -j4
~/python2.1/src/build$ make install

Then, in the pycrypto source tree, I do something like this:

~/pycrypto-2.x$ ~/python2.1/bin/python setup.py build test

Dwayne C. Litzenberger <dlitz at dlitz.net>
  OpenPGP: 19E1 1FE8 B3CF F273 ED17  4A24 928C EC13 39C2 5CF7

More information about the pycrypto mailing list