plugins/__init__.py
author etisserant
Tue, 28 Aug 2007 07:57:36 +0200
changeset 14 eb9fdd316a40
parent 13 f1f0edbeb313
child 17 ee8cb104dbe0
permissions -rw-r--r--
More precise design for plugins.... to be continued...
from os import listdir, path
from __templates import PlugTemplate

_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("__")]