Turn Python code into a package ready to publish.
Recent revisions are kept. Restoring one creates a new revision.