"""The design extra package.

Notes
-----
To us the extras module you have to import it manually by calling:
`import expyriment.design.extras`


"""

__author__ = 'Florian Krause <florian@expyriment.org> \
Oliver Lindemann <oliver@expyriment.org>'

from ... import _internals

print("Design plugins:")
for name, code in _internals.import_plugins_code("design").items():
    print(" " + name)
    try:
        exec(code)
    except Exception as err:
        print("Warning: Could not import {0}".format(name))
        print(" {0}".format(err))

try:
    del (name, code)
except Exception:
    pass
