# -*- coding: utf-8 -*-
#
# This module contains the configuration of the individual eric installation
#

_pkg_config = {
    'ericDir'             : r'/opt/local/lib/python2.7/site-packages/eric3',
    'ericPixDir'          : r'/opt/local/lib/python2.7/site-packages/eric3/pixmaps',
    'ericIconDir'         : r'/opt/local/lib/python2.7/site-packages/eric3/icons',
    'ericDTDDir'          : r'/opt/local/lib/python2.7/site-packages/eric3/DTDs',
    'ericCSSDir'          : r'/opt/local/lib/python2.7/site-packages/eric3/CSSs',
    'ericDocDir'          : r'/opt/local/lib/python2.7/site-packages/eric3/Documentation',
    'ericExamplesDir'     : r'/opt/local/lib/python2.7/site-packages/eric3/Examples',
    'ericTranslationsDir' : r'/opt/local/lib/python2.7/site-packages/eric3/i18n',
    'ericWizardsDir'      : r'/opt/local/lib/python2.7/site-packages/eric3/Wizards',
    'ericTemplatesDir'    : r'/opt/local/lib/python2.7/site-packages/eric3/DesignerTemplates',
    'ericOthersDir'       : r'/opt/local/lib/python2.7/site-packages/eric3',
    'bindir'              : r'/opt/local/bin',
    'mdir'                : r'/opt/local/lib/python2.7/site-packages',
    
    'qtui'                : True,
    'qttable'             : True,
    'qtcanvas'            : True,
}

def getConfig(name):
    '''
    Module function to get a configuration value.

    @param name the name of the configuration value (string).
    '''
    try:
        return _pkg_config[name]
    except KeyError:
        pass

    raise AttributeError, '"%s" is not a valid configuration value' % name
