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

_pkg_config = {
    'ericDir'              : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericPixDir'           : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericIconDir'          : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericDTDDir'           : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericCSSDir'           : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericStylesDir'        : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericDocDir'           : r'/usr/local/share/doc/eric4',
    'ericExamplesDir'      : r'/usr/local/share/examples/eric4',
    'ericTranslationsDir'  : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericWizardsDir'       : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericTemplatesDir'     : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericCodeTemplatesDir' : r'/usr/local/lib/python2.5/site-packages/eric4',
    'ericOthersDir'        : r'/usr/local/lib/python2.5/site-packages/eric4',
    'bindir'               : r'/usr/local/bin',
    'mdir'                 : r'/usr/local/man',
}

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
