plugins/__init__.py
author greg
Fri, 01 Feb 2008 09:17:50 +0100
changeset 95 646a44a12e2a
parent 83 ad4dafe7bfee
child 106 9810689febb0
permissions -rw-r--r--
add GetParamsAttributes to canfestival.py to allow dll list in beremiz
10
2aff8e8cd456 Plugin skeleton base - python package
etisserant
parents:
diff changeset
     1
from os import listdir, path
2aff8e8cd456 Plugin skeleton base - python package
etisserant
parents:
diff changeset
     2
12
a1f9e514f708 plugin framework organization being defined
etisserant
parents: 11
diff changeset
     3
_base_path = path.split(__file__)[0]
10
2aff8e8cd456 Plugin skeleton base - python package
etisserant
parents:
diff changeset
     4
83
ad4dafe7bfee Bugs with windows fixed
lbessard
parents: 17
diff changeset
     5
__all__ = [name for name in listdir(_base_path) if path.isdir(path.join(_base_path, name)) and name.upper() != "CVS" or name.endswith(".py") and not name.startswith("__")]