plugins/__init__.py
author etisserant
Fri, 21 Sep 2007 17:48:34 +0200
changeset 49 45dc6a944ab6
parent 17 ee8cb104dbe0
child 83 ad4dafe7bfee
permissions -rw-r--r--
On the long wat towards generated code comilation...
from os import listdir, path

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