Package flumotion :: Package common :: Module bundle
[show private | hide private]
[frames | no frames]

Module flumotion.common.bundle

bundles of files used to implement caching over the network
Classes
Bundle I am a bundle of files, represented by a zip file and md5sum.
Bundler I bundle files into a bundle so they can be cached remotely easily.
BundlerBasket I manage bundlers that are registered through me.
Unbundler I unbundle bundles by unpacking them in the given directory under directories with the bundle's md5sum.
BundledFile I represent one file as managed by a bundler.
MergedBundler I am a bundler, with the extension that I can also bundle other bundlers.

Function Summary
  makeBundleFromLoadedModules(outfile, outreg, *prefixes)
Make a bundle from a subset of all loaded modules, also writing out a registry file that can apply to that subset of the global registry.

Function Details

makeBundleFromLoadedModules(outfile, outreg, *prefixes)

Make a bundle from a subset of all loaded modules, also writing out a registry file that can apply to that subset of the global registry. Suitable for use as a FLU_ATEXIT handler.
Parameters:
outfile - The path to which a zip file will be written.
           (type=str)
outreg - The path to which a registry file will be written.
           (type=str)
prefixes - A list of prefixes to which to limit the export. If not given, package up all modules. For example, "flumotion" would limit the output to modules that start with "flumotion".
           (type=list of str)

Generated by Epydoc 2.1 on Fri Apr 6 10:13:41 2007 http://epydoc.sf.net