Trees | Indices | Help |
|
---|
|
Initialize mrv system assisting development, debugging and maintenance
|
|||
|
|
|||
Common | |||
---|---|---|---|
|
|||
Initialization | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__package__ =
|
|||
log = logging.getLogger("mrv")
|
|
Install the configuration provider system This allows values and settings to be stored in a convenient way. |
Install internationalization module Using the default python gettext module, internationalization compatibility can be garantueed. Will map the '_' function to translate enclosed strings |
Initialize the default mrv logging interface The logging interface unifies the way messages for the end user are handled and assure a flexible message handling. :note: will not raise even if the logging module could not be setup :note: in the current implementation, it is based on the default python logging package |
fix sys.path: if there are empty entries and our cwd is the mrvroot we will be in trouble as we try to import our own 'maya' module which will not provide the original maya packages of course :note: only for internal use - code was moved into a method as it needs to be called again from maya.__init__ |
Call '__initialize' functions in submodules of module at filepath if they exist These functions should setup the module to be ready for work, its a callback informing the submodules that the super module is being requested. They return a True value if the initialization was performed, or a False one if they weren't for some reason. Throw to indicate error. :param filepath: your module module.__file__ value :param moduleprefix: prefix like "super.yourmodule." leading to the submodules from an available system include path :param recurse: if True, method will recursively initialize submodules :param self_module: if not None, it must be the module that called this function. It will be given to the __initialize functions as first arguments allowing them to operate on functions of their own module - importing their own module is not yet possible as it is in the course of being intialized itself. The module will be given only to intermediate submodules in case recurse is True. :note: in this moment, all submodules will be 'pulled' in |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:11 2011 | http://epydoc.sourceforge.net |