# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

"""This package contains code for creating environment modules, which can
include dotkits, TCL non-hierarchical modules, LUA hierarchical modules, and
others.
"""

from __future__ import absolute_import

from .dotkit import DotkitModulefileWriter
from .tcl import TclModulefileWriter
from .lmod import LmodModulefileWriter

__all__ = [
    'DotkitModulefileWriter',
    'TclModulefileWriter',
    'LmodModulefileWriter'
]

module_types = {
    'dotkit': DotkitModulefileWriter,
    'tcl': TclModulefileWriter,
    'lmod': LmodModulefileWriter
}
