Build steps

Before building, edit Lib/site.py with the patch from here.

./configure --prefix=/usr/local/encap/python-2.3

Build steps

After building, copy sitecustomize.py to /usr/local/encap/python-2.3/lib/python2.3. Then run epkg

Encap Install

All of the above can be accomplished by using encap, and using this .ep file.

Module Installs

If the above is done properly, you can install each module into its own prefix safely - ie,

python setup.py install --prefix=/usr/local/encap/[...]

References