# -*- coding: iso-8859-1 -*-
"""
    Sycamore - Extension Action Package

    @copyright: 2000 by Richard Jones <richard@bizarsoftware.com.au>
    @copyright: 2000, 2001, 2002 by Jürgen Hermann <jh@web.de>  
    @license: GNU GPL, see COPYING for details.
"""

from Sycamore import config
from Sycamore.util import pysupport

# create a list of extension actions from the subpackage directory
extension_actions = pysupport.getPackageModules(__file__)

# remove actions excluded by the configuration
for action in config.excluded_actions:
    try:
        extension_actions.remove(action)
    except ValueError:
        pass

modules = extension_actions
