--- a/eric5config.py Fri Mar 11 08:55:14 2011 +0100 +++ b/eric5config.py Fri Mar 11 16:51:57 2011 +0100 @@ -13,22 +13,23 @@ __ericDir = os.path.dirname(sys.argv[0]) _pkg_config = { - 'ericDir' : __ericDir, - 'ericPixDir' : os.path.join(__ericDir, 'pixmaps'), - 'ericIconDir' : os.path.join(__ericDir, 'icons'), - 'ericDTDDir' : os.path.join(__ericDir, 'DTDs'), - 'ericCSSDir' : os.path.join(__ericDir, 'CSSs'), - 'ericStylesDir' : os.path.join(__ericDir, "Styles"), - 'ericDocDir' : os.path.join(__ericDir, 'Documentation'), - 'ericExamplesDir' : os.path.join(__ericDir, 'Examples'), - 'ericTranslationsDir' : os.path.join(__ericDir, 'i18n'), - 'ericTemplatesDir' : os.path.join(__ericDir, 'DesignerTemplates'), - 'ericCodeTemplatesDir' : os.path.join(__ericDir, 'CodeTemplates'), - 'ericOthersDir' : __ericDir, - 'bindir' : __ericDir, - 'mdir' : __ericDir, + 'ericDir': __ericDir, + 'ericPixDir': os.path.join(__ericDir, 'pixmaps'), + 'ericIconDir': os.path.join(__ericDir, 'icons'), + 'ericDTDDir': os.path.join(__ericDir, 'DTDs'), + 'ericCSSDir': os.path.join(__ericDir, 'CSSs'), + 'ericStylesDir': os.path.join(__ericDir, "Styles"), + 'ericDocDir': os.path.join(__ericDir, 'Documentation'), + 'ericExamplesDir': os.path.join(__ericDir, 'Examples'), + 'ericTranslationsDir': os.path.join(__ericDir, 'i18n'), + 'ericTemplatesDir': os.path.join(__ericDir, 'DesignerTemplates'), + 'ericCodeTemplatesDir': os.path.join(__ericDir, 'CodeTemplates'), + 'ericOthersDir': __ericDir, + 'bindir': __ericDir, + 'mdir': __ericDir, } + def getConfig(name): ''' Module function to get a configuration value.