Trees | Index | Help |
---|
Package flumotion :: Package common :: Module package :: Class Packager |
|
Loggable
--+
|
Packager
Method Summary | |
---|---|
__init__(self)
| |
Return all absolute paths to the top level of a tree from which (part of) the given package name can be imported. | |
Install our custom importer that uses bundled packages. | |
Register a given path as a path that can be imported from. | |
Unregister all previously registered package paths, and uninstall the custom importer. | |
Inherited from Loggable | |
Log a debug message. | |
dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. |
Class Variable Summary | |
---|---|
str |
logCategory : Implementors can provide a category to log their messages under. |
Inherited from Loggable | |
Implements |
__implemented__ = <implementedBy flumotion.common.log.Lo...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Method Details |
---|
getPathsForPackage(self, packageName)Return all absolute paths to the top level of a tree from which (part of) the given package name can be imported. |
install(self)Install our custom importer that uses bundled packages. |
registerPackagePath(self, packagePath, key, prefix='flumotion')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.
|
unregister(self)Unregister all previously registered package paths, and uninstall the custom importer. |
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Apr 14 13:16:08 2007 | http://epydoc.sf.net |