I am using Python as a plug-in scripting language for an existing C++ application. I am able to embed the python interpreter as stated in the Python documentation. Everything works successfully with the initialization and de-initialization of the interpreter. I am, however, having trouble loading modules because I have not been able to zip up the standard library in to a zip file (normally PythonXX.zip, corresponding to the version number of the python dll). 
What is the simplest way to zip up all of the standard library after optimized bytecode compiling? I'm looking for a simple script or command to do so for me, as I really don't want to do this by hand. 
Any ideas? 
Thanks!
It shouldn't be too difficult to write a script for that.  Check out the zipfile.PyZipFile class and it's writepy method.
What is the easiest way to build Python26.zip for embedded distribution?