The CreateDistroCommand class is accessible via the paste.script.create_distro module.
' Create a new project. Projects are typically Python packages,\n ready for distribution. Projects are created from templates, and\n represent different kinds of projects -- associated with a\n particular framework for instance.\n '
['top_level.txt', 'entry_points.txt', 'requires.txt', 'PKG-INFO', 'namespace_packages.txt', 'SOURCES.txt', 'dependency_links.txt', 'not-zip-safe']
See the source for more information.