plugins/__init__.py
author etisserant
Tue, 21 Aug 2007 17:21:26 +0200
changeset 12 a1f9e514f708
parent 11 75ae893d5eed
child 13 f1f0edbeb313
permissions -rw-r--r--
plugin framework organization being defined
from os import listdir, path
from xmlclass import DeclareXSDClass
from __templates import *

_base_path = path.split(__file__)[0]

__all__ = [name for name in listdir(_base_path) if path.isdir(path.join(_base_path, name)) and name != "CVS" or name.endswith(".py") and not name.startswith("__")]

for name in __all__:
    __import__(name, globals(), locals(), [])