The pluginlib module is accessible via the paste.script module.
Add the plugin to the given distribution (or spec), in .egg-info/paster_plugins.txt
Remove the plugin to the given distribution (or spec), in .egg-info/paster_plugins.txt. Raises ValueError if the plugin is not in the file.
See the source for more information.