I would use setuptools to create an egg (basically java jar for python). Probably setup.py looks something like this:
from setuptools import setup, find_packages
setup(
name='python26_stdlib',
package_dir = {'' : '/path/to/python/lib/directory'},
packages = find_packages(),
)
You can run this with python setup.py bdist_egg. When you have an egg, you can add it to the python path or install it using setuptools. I believe this should also apply to generating pycs for you.
. python. virtualenv .