I want to create a private, self-contained Python environment that doesn't link back to system libraries (the way virtualenv does) and also includes its own versions of standard C/C++ libraries for Python packages that are simply wrappers for these libraries (PIL and libjpeg, for example).
I've seen commercial apps that distribute an entire runtime in a directory, so I know it can be done.
The question is, is there a tool that makes this easy to do? Virtualenv almost gets me there, esp. with the --no-site-packages and the --relocatable flags, but it doesn't solve the problem for standard "C" libraries. I want to be able to build a PIL, for example, that uses the bundled private version of libjpeg and libpng
Any suggestions?