registerPackagePath(self,
packagePath,
key,
prefix=' flumotion ' )
| source code
|
Register a given path as a path that can be imported from. Used to
support partition of bundled code or import code from various uninstalled
location.
sys.path will also be changed to include this, and remove references
to older packagePath's for the same bundle.
- Parameters:
packagePath (string @param key a unique id for the package being
registered) - path to add under which the module namespaces live, (ending in an
md5sum, for flumotion purposes)
prefix (string) - prefix of the packages to be considered
key (string)
|